p = float(input("Principal : "))
r = float(input("Rate of interest per annum : "))
t = int(input("Time period in years : "))
A = p*(1+r/100)**t
print ("The simple interest on",p,"at the rate of "+str(r)+"% per annum over a time period of",t,"years is : ",A-p)