I'm trying to write a program that uses a function to calculate simple interest based on the information the user inputs. I'm getting a TypeError- 'int' is not callable. I thought this error only happened when you named a variable int on accident, but I haven't done that so I'm not sure why I would be getting this type of error in my program. Code is below, any guidance is appreciated!

```
def accrued(p, r, n):
    percent = r/100
    total = p(1 + (percent*n))
    return total

principal = int(input('Enter the principal amount: '))
rate = float(input('Enter the anuual interest rate. Give it as a percentage: '))
num_years = int(input('Enter the number of years for the loan: '))
result = accrued(principal, rate, num_years)
print(result)

```