Problem5836--ABC165 —— A - We Love Golf

5836: ABC165 —— A - We Love Golf

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 256 MiB

Description

Takahashi the Jumbo will practice golf.
His objective is to get a carry distance that is a multiple of $K$, while he can only make a carry distance of between $A$ and $B$ (inclusive).
If he can achieve the objective, print OK; if he cannot, print NG.

Input

Input is given from Standard Input in the following format:
$K$
$A\ B$

Output

If he can achieve the objective, print OK; if he cannot, print NG.

Constraints

All values in input are integers.
$1≤A≤B≤1000$
$1≤K≤1000$

Sample 1 Input

7
500 600

Sample 1 Output

OK
Among the multiples of $7$, for example, $567$ lies between $500$ and $600$.

Sample 2 Input

4
5 7

Sample 2 Output

NG
No multiple of $4$ lies between $5$ and $7$.

Sample 3 Input

1
11 11

Sample 3 Output

OK

HINT

题目来源:AtCoder ABC165 A题

Source/Category