Problem B
Cryptographic Keys
Lukáš invented a special cryptographic algorithm. He can not tell you the details, of course. However, there is one problem. He doesn’t know how to select strong keys for messages. Can you help him?
Suppose that a message is a positive integer
For example, the strongest key for
Input
Input contains one line with one integer
Output
Output contains one line with one integer
Sample Input 1 | Sample Output 1 |
---|---|
72 |
2 |