am=int(input("Enter the amount of savings: ")) year=0 while year<11 : print("After", year, "years:", am) am= am * 1.05 year= year + 1