eolymp
bolt
Try our new interface for solving problems
Problems

Zeros at the end of

Zeros at the end of

Time limit 1 second
Memory limit 64 MiB

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 (0M, K32000).

Output data

Single number - the number of trailing zeros.

Examples

Input example #1
2 1
Output example #1
1