Problem B
Three Digits

Per is obsessed with factorials. He likes to calculate them,
estimate them, read about them, draw them, dream about them and
fight about them. He even has the value of
He noticed a long time ago that factorials have many
trailing zeroes and also wrote a program to calculate the
number of trailing zeroes. For example
Task
Given an integer
Input
The input contains one line with one integer
Output
Output one line with the 3 digits before trailing zeroes of
Sample Input 1 | Sample Output 1 |
---|---|
5 |
12 |
Sample Input 2 | Sample Output 2 |
---|---|
14 |
912 |