# Arup Guha
# 7/16/2013
# Solution to SI@UCF Homework: Math Class Practice: Problem A

import math

def main():

    # Get input.
    principal = float(input("Enter the amount of money invested.\n"))
    rate = float(input("Enter the interest rate as a percentage.\n"))
    years = int(input("How many years will your money be invested?\n"))

    #Plug into the given formula, remembering to divide rate by 100.
    print("You will have $", principal*math.exp(rate/100*years)," after ",years," years.", sep="")

main()    
