- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
#*тут определение факториала*
fac_missing_end = factorial(100)/1000000000000000000000000
#there are 134 digits when you take off the zeroes at the end
sum_of_digits = 0
recent_digit = fac_missing_end%10
new_fac = fac_missing_end/10
sum_of_digits = sum_of_digits + recent_digit
recent_digit = new_fac%10
new_fac = new_fac/10
sum_of_digits = sum_of_digits + recent_digit
recent_digit = new_fac%10
new_fac = new_fac/10
sum_of_digits = sum_of_digits + recent_digit
recent_digit = new_fac%10
new_fac = new_fac/10
sum_of_digits = sum_of_digits + recent_digit
# еще пару десятков строк такого говна
print sum_of_digits