bytelandian questions doubt

**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))

Better to share a link to your code: CodeChef: Practical coding for everyone

But to show code properly use the 101/010 button with the code highlighted when editing.