A Factorial Problem

View as PDF

Points: 10
Time limit: 0.2s
Java 0.6s
Python 1.0s
Memory limit: 64M

Author:
Problem type

You task is to find minimal natural number , so that contains exactly zeroes on the trail in decimal notation. As you know . For example, , contains one zero on the trail.

Input Specification

The first line will contain the integer .

Output Specification

Print No solution, if there is no such number , and otherwise.

Sample Input

2

Sample Output

10