import math

n=math.factorial(100)
s=str(n)
sum=0
for i in s:
    sum=sum+int(i)
print (sum)

