**can you please tell how can i reduce my time limit for this code (BYTELANDIAN COINS CODE)
def profit(a):
if a<12:
return a
else:
b1=int(a/2)
b2=int(a/3)
b3=int(a/4)
sum = (profit(b1)+profit(b2)+profit(b3))
return sum
for i in range(0,10):
n=int(input(“enter the value of n”))
print(“american dollars =”,profit(n))