본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 28352번 10!

by 현장 2023. 7. 23.

-Code

from math import factorial
n = factorial(int(input()))
res = n // (7 * 24 * 60 * 60)

print(res)