Zeros at the end of
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Some natural number N can be decomposed into prime factors, among which M dividers, which are 2 and K - 5. How many zeros ends integer N?
Input
The single line contains two integers M and K (0 ≤ M, K ≤ 32000).
Output
Single number - the number of trailing zeros.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 59%