#include<stdio.h> int main() { long long n; int sum = 0; while (~scanf("%lld", &n)) { while (n) { n /= 5; sum += n; } printf("%d", sum); } return 0; }
#include<stdio.h> int main() { long long n; int sum = 0; while (~scanf("%lld", &n)) { while (n) { n /= 5; sum += n; } printf("%d", sum); } return 0; }