We define a number n is good if and only if there exists x ∈ [n2+1,n2+2n] satisfy xn4 Give a positive number m , you need to find the smallest good number no less than m
输入描述:
The first line has a positive integer m


输出描述:
Output the smallest good number no less than m
示例1

输入

4

输出

6

备注:
1≤ m≤ 101000
加载中...