Type: Default 1000ms 256MiB

G数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Special for beginners, ^_^


Description

现有一整数 nn

如果 nnn2\lfloor \frac{n}{2} \rfloor 及更多个约数

则称这个数 nn 是“G数”。

请你判断这个数是不是“G数”


Format

Input

多组数据,每组1个 nn

Output

每组数据各输出一个字符串,如果是“G数”输出G,否则输出N


Samples

36
8
18
1
N
G
N
G

Limitation

1n2×1091 \leq n \leq 2 \times 10^9

1T1031 \leq T \leq 10^3

1s, 1024KiB for each test case.

信念

Not Attended
Status
Done
Rule
Ledo
Problem
6
Start at
2023-1-2 21:15
End at
2023-12-31 23:15
Duration
8714 hour(s)
Host
Partic.
14