Problems
Zeros at the end of
Zeros at the end of
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 data
The single line contains two integers M and K (0 ≤ M, K ≤ 32000).
Output data
Single number - the number of trailing zeros.
Examples
Input example #1
2 1
Output example #1
1