p = float(input("Enter the principle amount: ")) r = float(input("Enter the rate: ")) t = float(input("Enter the time: ")) si = p * r * t / 100 print("Simple interest is", si)