Time Limit: 2 sec / Memory Limit: 1024 MB
Score: 100100 points
Problem Statement
Takahashi the Jumbo will practice golf.
His objective is to get a carry distance that is a multiple of KK, while he can only make a carry distance of between AA and BB (inclusive).
If he can achieve the objective, print OK; if he cannot, print NG.
Constraints
-
All values in input are integers.
-
1 \leq A \leq B \leq 10001≤A≤B≤1000
-
1 \leq K \leq 10001≤K≤1000
Input
Input is given from Standard Input in the following format:
KKAABB
Output
If he can achieve the objective, print OK; if he cannot, print NG.