#Q1. G数

G数

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.