100 atcoder#ABC165A. [ABC165A] We Love Golf
[ABC165A] We Love Golf
Score: points
Problem Statement
Takahashi the Jumbo will practice golf.
His objective is to get a carry distance that is a multiple of , while he can only make a carry distance of between and (inclusive).
If he can achieve the objective, print OK
; if he cannot, print NG
.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
If he can achieve the objective, print OK
; if he cannot, print NG
.
7
500 600
OK
Among the multiples of , for example, lies between and .
4
5 7
NG
No multiple of lies between and .
1
11 11
OK