# Code
p = int(input('Pricipal Amount : '))
t = int(input('Time : '))
r = int(input('Rate(annum) : '))
Si = (p*r*t)/100
print('Simple Interest is ', Si)
Ci = p*pow((1+r/4), 4*t) - p
print('Compound Interest is ', Ci)
# Code
p = int(input('Pricipal Amount : '))
t = int(input('Time : '))
r = int(input('Rate(annum) : '))
Si = (p*r*t)/100
print('Simple Interest is ', Si)
Ci = p*pow((1+r/4), 4*t) - p
print('Compound Interest is ', Ci)