Buggy python submission (verdict: Runtime Error):
K,A,B = map(int,input().split())
if A <= B % K == 0 and A or B % K == 0:
	print("OK")
else:
    print("NG")


Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
K,A,B = map(int,input().split())
if A <=B % K == 0:
	print("OK")
else:
    print("NG")


Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
K,A,B = map(int,input().split())
if A <= B % K == 0 and A or B % K == 0:
	print("OK")
else:
  	print("NG")

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
K,A,B = map(int,input().split())
if A <= B % K == 0:
	print("OK")
else:
  	print("NG")

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
K,A,B = map(int,input().split())
if A and B % K == 0:
	print("OK")
else:
  	print("NG")

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
K,A,B = map(int,input().split())
A <= B 
if A or B % K == 0:
	print("OK")
else:
  	print("NG")

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
K,A,B = map(int,input().split())
if A <= B and A or B % K == 0:
	print("OK")
else:
  	print("NG")

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
K,A,B = map(int,input().split())
if A <= K <= B and A or B % K == 0:
	print("OK")
else:
  	print("NG")

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
K,A,B = map(int,input().split())
if A or B % K == 0:
	print("OK")
else:
    print("NG")

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
a,b,k = map(int,input().split())
if a or b % k ==0:
	print("OK")
else:
    print("NG"

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
a,b,k = map(int,input().split())
if a or b % k ==0:
	print("OK")
    else:
      print("NG")

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)

Buggy python submission (verdict: Runtime Error):
a,b,k = map(int,input().split())
if a or b % k ==0:
	print("OK")
    else:
      print("NG")

Fixed submission:
K=int(input())
A,B=map(int,input().split())
ans="NG"

for i in range(1001):
  if A<=i*K and i*K<=B:
    ans="OK"
    break

print(ans)