#P4894. 符合条件的自然数

符合条件的自然数

Description

找到最小的自然数 n,使 n 的阶乘在十进制下末尾包含连续 x 个 0

Input Format

一个数 x( 0x≤1e8

Output Format

输出这个自然数 n,如果无解,输出”No solution”。
2
10

Source

枚举 数学