In [14]:
def compute_sum(end):
i=0
total_n=1
while i<end:
i=i+1
total_n=total_n*i
return total_n
n=int(input('plz enter an integer,end with a tab: '))
m=int(input('plz enter an integer,end with a tab: '))
k=int(input('plz enter an integer,end with a tab: '))
print(compute_sum(m)+compute_sum(n)+compute_sum(k))