2986 - Non-Squarefree Numbers

一个正整数K被称为squarefree,如果它没有一个D^2(D>1)这样的约数。

Input

读入一个正整数N

Output

找出第N个不是squarefree的数。1<=N<=10^10

Examples

Input

10

Output

27

Hint

前10个非squarefree的数 4 8 9 12 16 18 20 24 25 27

Hint

Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题