stablegradients/pie-gem5-pairs huggingface dataset:
// Slower C++ solution:


#include<bits/stdc++.h>

using namespace std;





#define optimize() ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);  ///for fasting input and output using cin,cout(only)

#define endl '\n'



int main()



{

    optimize();

    int n,m;

    cin>>n>>m;

    if( n == m )

        cout<<"Yes"<<endl;

    else cout<<"No"<<endl;

 return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.369250990545775x):
#include <stdio.h>



int main (){

	int num1, num2;

	scanf("%d %d", &num1, &num2);

	

	if (num1 == num2){

		printf("Yes \n", num1);

	}

	else {

		printf("No \n", num1);

	}



	return 0;

}
// Slower C++ solution:
 #include<iostream>

 using namespace std;



 int main()

 {

     int n,m;



     cin>>n>>m;



     if(n==m){

        cout<<"Yes\n";

     }

     else{

        cout<<"No\n";

     }



     return 0;

 }


// Faster C++ solution for the same problem (measured speedup: 5.298968004689088x):
#include <stdio.h>



int main (){

	int num1, num2;

	scanf("%d %d", &num1, &num2);

	

	if (num1 == num2){

		printf("Yes \n", num1);

	}

	else {

		printf("No \n", num1);

	}



	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

using namespace std;

int main()

{

    int n,m;

    cin>>n>>m;

    if(n==m)

    {

        cout<<"Yes"<<endl;

    }

    else

    {

        cout<<"No"<<endl;

    }

}


// Faster C++ solution for the same problem (measured speedup: 5.312767864801553x):
#include <stdio.h>



int main (){

	int num1, num2;

	scanf("%d %d", &num1, &num2);

	

	if (num1 == num2){

		printf("Yes \n", num1);

	}

	else {

		printf("No \n", num1);

	}



	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

using namespace std;



int main()

{

    int n, m;



    cin >> n >> m;

    if(n == m)

        cout << "Yes";

    else

        cout << "No";



    return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.299042695110809x):
#include <stdio.h>



int main (){

	int num1, num2;

	scanf("%d %d", &num1, &num2);

	

	if (num1 == num2){

		printf("Yes \n", num1);

	}

	else {

		printf("No \n", num1);

	}



	return 0;

}
// Slower C++ solution:
#include <bits/stdc++.h>

#define ll long long int

using namespace std;



int main()

{

    ios_base::sync_with_stdio(false);

    cin.tie(NULL);



ll n,m,x,k,d,i,j,index,flag=0,count=0,result,odd,even,sum=0,temp,mini;

cin>>n>>m;

//string str;

//cin>>str;

//ll a[200005];

//ll b[200005];

/*for(i=0;i<n;i++)

{

    cin>>a[i];

}

*/

if(n==m)  cout<<"Yes";

else cout<<"No";



    return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.37506983361303x):
#include <stdio.h>



int main (){

	int num1, num2;

	scanf("%d %d", &num1, &num2);

	

	if (num1 == num2){

		printf("Yes \n", num1);

	}

	else {

		printf("No \n", num1);

	}



	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

using namespace std;

int main()

{

    int a,b;

    scanf("%d%d",&a,&b);

    if(a==b)

        printf("Yes");

    else

        printf("No");

}


// Faster C++ solution for the same problem (measured speedup: 5.241103242047838x):
#include <stdio.h>



int main (){

	int num1, num2;

	scanf("%d %d", &num1, &num2);

	

	if (num1 == num2){

		printf("Yes \n", num1);

	}

	else {

		printf("No \n", num1);

	}



	return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

    int n,m;

    cin>>n>>m;

    if(n==m)

        cout<<"Yes\n";

    else cout<<"No\n";

}


// Faster C++ solution for the same problem (measured speedup: 5.298968004689088x):
#include <stdio.h>



int main (){

	int num1, num2;

	scanf("%d %d", &num1, &num2);

	

	if (num1 == num2){

		printf("Yes \n", num1);

	}

	else {

		printf("No \n", num1);

	}



	return 0;

}
// Slower C++ solution:
#include<iostream>

#include<stdio.h>

#include<vector>

#include<algorithm>

#include<iterator>

#include<math.h>

#include<cstring>

using namespace std;

void lets_play()



{

   int n,m;

   cin>>n>>m;



  if(m==n)

    cout<<"Yes"<<endl;

  else

    cout<<"No"<<endl;

    }



int main()

{

        lets_play();



}


// Faster C++ solution for the same problem (measured speedup: 5.307277095942558x):
#include <stdio.h>



int main (){

	int num1, num2;

	scanf("%d %d", &num1, &num2);

	

	if (num1 == num2){

		printf("Yes \n", num1);

	}

	else {

		printf("No \n", num1);

	}



	return 0;

}
// Slower C++ solution:
//Tanzim bin nasir

#include<bits/stdc++.h>

typedef long long ll;

#define ff first

#define ss second

using namespace std;

void fast()

{

ios::sync_with_stdio(false);

cin.tie(NULL); cout.tie(NULL);

}

ll gcd(ll a,ll b)

{

    if(b==0)

    return a;

    else

    gcd(b,a%b);

}

ll lcd(ll a,ll b)

{

    return (a*b)/gcd(a,b);

}

int main()

{

    int n,m;

    cin>>n>>m;

    if(m==n)

    cout<<"Yes\n";

    else

    cout<<"No\n";

}


// Faster C++ solution for the same problem (measured speedup: 5.299041221616567x):
#include <stdio.h>



int main (){

	int num1, num2;

	scanf("%d %d", &num1, &num2);

	

	if (num1 == num2){

		printf("Yes \n", num1);

	}

	else {

		printf("No \n", num1);

	}



	return 0;

}
// Slower C++ solution:
#include <iostream>

int main(){

    int n , m;

    std :: cin >> n >> m;

    if (n==m) std :: cout << "Yes";

    else std:: cout << "No";

    return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.298824304483233x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include <bits/stdc++.h>

using namespace std;



#define fi first

#define se second

#define mp make_pair

#define pb push_back

#define mt make_tuple

#define eb emplace_back

#define fastio() ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)



#define LB(x,v) (lower_bound(x.begin(),x.end(),v)-x.begin())

#define UB(x,v) (upper_bound(x.begin(),x.end(),v)-x.begin())

typedef long long ll;

typedef pair<ll,ll> ii;

typedef vector<int> vi;

typedef vector<ll> vl;

typedef unsigned long long ull;

typedef long double ld; 

typedef tuple<int,int,int> State;



ll mod = 1e9 + 7;



#define citc(tc) int tc; cin>>tc; while(tc--){solve();}

#define each(a,x) for( auto &a:(x))

#define rep(i, n) for (ll i = 0; i < (n); i++)

#define repr(i, n) for (ll i = (n) - 1; i >= 0; i--)

#define rep2(i, l, r) for (ll i = (l); i < (r); i++)

#define rep2r(i, l, r) for (ll i = (r) - 1; i >= (l); i--)

#define range(a) a.begin(), a.end()

#define deb(x) cout<<#x<<" "<<x<<endl;

#define cini(i) int i; cin>>i;

#define cinll(l) ll l; cin>>l;

#define cinai(a, n) vi a(n); rep(i, n) { cin>>a[i]; }

#define cinal(a, n) vl a(n); rep(i, n) { cin>>a[i]; }

#define coutai(a, n) rep(i, n) { cout<<a[i]<<" "; } ent;

#define coutal(a, n) rep(i, n) { cout<<a[i]<<" "; } ent;

#define ent cout<<endl;



void solve()

{

	ll a, b;

	cin>>a>>b;

	if(a == b)

		cout<<"Yes\n";

	else

		cout<<"No\n";

}

int main()

{

	fastio();

	// citc(tc);

	solve();

}

// Faster C++ solution for the same problem (measured speedup: 5.368415370463601x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include <iostream>

using namespace std;



int main() {

	int n,m;

	cin>>n>>m;

	if(m==n)cout<<"Yes";

	else cout<<"No";

	return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.298824304483233x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

using namespace std;

int main()

{

    int m,n;

    cin>>n>>m;

    if(n==m)

        cout<<"Yes"<<endl;

    else

        cout<<"No"<<endl;

    return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.31262692896587x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:


#include<bits/stdc++.h>

using namespace std;





#define optimize() ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);  ///for fasting input and output using cin,cout(only)

#define endl '\n'



int main()



{

    optimize();

    int n,m;

    cin>>n>>m;

    if( n == m )

        cout<<"Yes"<<endl;

    else cout<<"No"<<endl;

 return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.369029706408073x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
 #include<iostream>

 using namespace std;



 int main()

 {

     int n,m;



     cin>>n>>m;



     if(n==m){

        cout<<"Yes\n";

     }

     else{

        cout<<"No\n";

     }



     return 0;

 }


// Faster C++ solution for the same problem (measured speedup: 5.2987496171397455x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

using namespace std;

int main()

{

    int n,m;

    cin>>n>>m;

    if(n==m)

    {

        cout<<"Yes"<<endl;

    }

    else

    {

        cout<<"No"<<endl;

    }

}


// Faster C++ solution for the same problem (measured speedup: 5.3125489085155x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

using namespace std;



int main()

{

    int n, m;



    cin >> n >> m;

    if(n == m)

        cout << "Yes";

    else

        cout << "No";



    return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.298824304483233x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include <bits/stdc++.h>

#define ll long long int

using namespace std;



int main()

{

    ios_base::sync_with_stdio(false);

    cin.tie(NULL);



ll n,m,x,k,d,i,j,index,flag=0,count=0,result,odd,even,sum=0,temp,mini;

cin>>n>>m;

//string str;

//cin>>str;

//ll a[200005];

//ll b[200005];

/*for(i=0;i<n;i++)

{

    cin>>a[i];

}

*/

if(n==m)  cout<<"Yes";

else cout<<"No";



    return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.374848309662052x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

using namespace std;

int main()

{

    int a,b;

    scanf("%d%d",&a,&b);

    if(a==b)

        printf("Yes");

    else

        printf("No");

}


// Faster C++ solution for the same problem (measured speedup: 5.240887239291854x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

    int n,m;

    cin>>n>>m;

    if(n==m)

        cout<<"Yes\n";

    else cout<<"No\n";

}


// Faster C++ solution for the same problem (measured speedup: 5.2987496171397455x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include<iostream>

#include<stdio.h>

#include<vector>

#include<algorithm>

#include<iterator>

#include<math.h>

#include<cstring>

using namespace std;

void lets_play()



{

   int n,m;

   cin>>n>>m;



  if(m==n)

    cout<<"Yes"<<endl;

  else

    cout<<"No"<<endl;

    }



int main()

{

        lets_play();



}


// Faster C++ solution for the same problem (measured speedup: 5.3070583659487855x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
//Tanzim bin nasir

#include<bits/stdc++.h>

typedef long long ll;

#define ff first

#define ss second

using namespace std;

void fast()

{

ios::sync_with_stdio(false);

cin.tie(NULL); cout.tie(NULL);

}

ll gcd(ll a,ll b)

{

    if(b==0)

    return a;

    else

    gcd(b,a%b);

}

ll lcd(ll a,ll b)

{

    return (a*b)/gcd(a,b);

}

int main()

{

    int n,m;

    cin>>n>>m;

    if(m==n)

    cout<<"Yes\n";

    else

    cout<<"No\n";

}


// Faster C++ solution for the same problem (measured speedup: 5.298822831049719x):
#include<stdio.h>



int main(){

	int X;

	int Y;

	scanf ("%d %d",&X,&Y);

	if (X==Y){

		printf("Yes");

	}

	else if (X!=Y){

		printf("No");

	}

	

	

	

	return 0;

}
// Slower C++ solution:
#include <bits/stdc++.h> 

using namespace std;

#define int long long int

#define float double

#define pb push_back

#define FF first

#define SS second

#define N 201000

#define MOD 1000000007

#define fn(i,n) for(int i=0;i<n;i++)

#define rep(i,l,r) for(int i=l;i<=r;i++)

#define pii pair<int,int>

#define mp make_pair

#define INF 1000000000000000000

#define speed ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)





signed main() 

{

    speed;

    //freopen("input.txt","r",stdin);

    //freopen("output.txt","w",stdout);

    

    int k,a,b;

    cin>>k>>a>>b;

    if(a%k==0 || b%k==0) cout<<"OK";

    else if((a/k)==(b/k)) cout<<"NG";

    else cout<<"OK";

}

// Faster C++ solution for the same problem (measured speedup: 5.354738034457045x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

#define ll long long

#define ull unsigned long long

#define IO ios::sync_with_stdio(false), cin.tie(0)

#define endl '\n'

#define pi acos(-1.0)

#define ms(a, x) memset(a, x, sizeof(a))

#define lowbit(x) ((x)&(-(x)))

#define pb push_back

#define binarycount __builtin_popcount(x)

#define tr t[root]

#define lson t[root << 1]

#define rson t[root << 1 | 1]

#define debug(x) cout<<x<<'\n'

#define pii pair<ll,pair<ll,ll> >

using namespace std;

const int inf = 0x3f3f3f3f;

const ll INF=0x3f3f3f3f3f3f3f3f;

const ll mod = 1e9+7;

const double eps = 1e-8;

ll gcd(ll a, ll b) {return b==0?a:gcd(b, a%b);}

ll lcm(ll a, ll b) {return a/gcd(a, b)*b;}

ll powmod(ll a,ll b){

    ll ans = 1, pow = a;

    while(b) { if(b&1) ans = (ans*pow)%mod; pow = (pow*pow)%mod; b >>= 1; }

    return ans;

}

ll mul(ll a,ll b){//大数取模乘法防止溢出

    ll ans=0;

    a%=mod,b%=mod;

    while(b) { if(b&1) ans = (ans+a)%mod; a = (a*2)%mod; b >>= 1; }

    return ans;

}

//(b/a)%p=b*a^(p-2)%p

int pr(ll num){//判断素数

     if(num == 1) return 0;

     if(num ==2|| num==3 ) return 1 ;

     if(num %6!= 1&&num %6!= 5) return 0 ;

     int tmp =sqrt( num);

     for(int i= 5;i <=tmp; i+=6 )

          if(num %i== 0||num %(i+ 2)==0 )return 0 ;

     return 1 ;

}

int Day(int y,int m, int d){

    if(m==1||m==2) { m+=12; y--; }

    int w=(d+2*m+3*(m+1)/5+y+y/4-y/100+y/400)%7;

    return w+1;

}

inline int read() {

    int c = 0, f = 1;

    char ch = getchar();

    while (ch < '0' || ch > '9') {

        if (ch == '-') f = -1;

        ch = getchar();

    }

    while (ch >= '0' && ch <= '9') {

        c = c * 10 + ch - '0';

        ch = getchar();

    }

    return c * f;

}



//#pragma comment(linker, "/STACK:1024000000,1024000000")//外挂开栈

//stable_sort 排序不处理相同元素

//map<int,int>::reverse_iterator rit;

//for(rit=mp.rbegin();rit!=mp.rend();rit++)

//vec动态二维数组

//vector<vector<int>> g(26,vector<int>(100005));

//初始化vec里面套了n个vec



//lower_bound(begin,end,num) 有序数列中返回第一个>=num的数字的地址

//upper_bound( begin,end,num) 返回第一个>num的数字的地址



const int maxn=1e5+5;

int main(){

    int k;

    int a,b;

    cin>>k>>a>>b;

    for(int i=a;i<=b;++i){

        if(i%k==0){

            cout<<"OK"<<endl;

            return 0;

        }

    }

    cout<<"NG"<<endl;

    return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.2748206183427095x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

#include<iostream>

#include<algorithm>

#include<cstring>

#include<cstdio>

#include<cmath>

#define ll  long long

#define ull unsigned long long

#define IO ios::sync_with_stdio(false), cin.tie(0)

#define endl '\n'

#define main() int main()

#define ff1(i,n) for(int i=1;i<=n;++i)

#define ff0(i,n) for(int i=0;i<n;++i)

#define pi acos(-1.0)

#define ms(a, x) memset(a, x, sizeof(a))

#define lowbit(x) ((x)&(-(x)))

#define pb push_back

#define binarycount __builtin_popcount(x)

#define tr t[root]

#define lson t[root << 1]

#define rson t[root << 1 | 1]

#define fir first

#define sec second

#define debug(x) cout<<x<<'\n'

#define sa(a) scanf("%d", &a)

#define sab(a, b) scanf("%d%d", &a, &b)

#define pa(a) printf("%d",a)

#define pab(a,b) printf("%d%d",a,b)

#define pii pair<int,int>

using namespace std;



#define maxn 10000005

const int inf = 0x3f3f3f3f;

const int mod = 1e9+7;

const double eps = 1e-8;

ll gcd(ll a, ll b) {return b==0?a:gcd(b, a%b);}

ll lcm(ll a, ll b) {return a/gcd(a, b)*b;}

ll powmod(ll a,ll b){

    ll ans = 1, pow = a%mod;

    while(b) { if(b&1) ans = (ans*pow)%mod; pow = (pow*pow)%mod; b >>= 1; }

    return ans%mod;

}

map<int,int> mp;

main(){

	IO;

	ll k,a,b;

	cin>>k>>a>>b; 

	for(int i=a;i<=b;i++){

		if(i%k==0){

			cout<<"OK"<<endl;

			return 0;

		}

	}

	cout<<"NG"<<endl;

}

// Faster C++ solution for the same problem (measured speedup: 5.352290997853215x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}
// Slower C++ solution:
#include <iostream>

#include <stdio.h>

#include <cstring>

#include <string>

#include <vector>

#include <set>

#include <map>

#include <algorithm>

#include <cmath>

#include <queue>

using namespace std;

typedef long long ll;

const int maxn=1e5+111;

int main(){

    int k,a,b;

    scanf("%d%d%d",&k,&a,&b);

    int num=b/k-(a-1)/k;

    if(num) puts("OK");

    else puts("NG");

    return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.222038198753757x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}
// Slower C++ solution:
#include<iostream>



using namespace std;



int main(){

    int k,a,b;

    cin>>k>>a>>b;

    k*=b/k;

    if(a<=k && k<=b) cout<<"OK";

    else cout<<"NG";

    return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.280817957974856x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

using namespace std;

int main()

{

    int k,a,b,sum,zz=1;

    scanf("%d%d%d",&k,&a,&b);

    sum=k;

    if(sum>=a&&sum<=b)

    {

        cout<<"OK"<<endl;

        return 0;

    }

    while(sum<=b)

    {

        zz++;

        sum=zz*k;

        //cout<<sum<<endl;

        if(sum>=a&&sum<=b)

        {

            cout<<"OK"<<endl;

            return 0;

        }



    }

    cout<<"NG"<<endl;

}


// Faster C++ solution for the same problem (measured speedup: 5.290484041962844x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}
// Slower C++ solution:
#include <bits/stdc++.h>

using namespace std;

typedef long long int ll;

vector<ll>vec;

int main() 

{

    ll k,a,b;

    cin>>k>>a>>b;

    ll f=0;

    for(ll i=a;i<=b;i++)

    {

        if(i%k==0){

            f=1;

            break;

        }

    }

    if(f)

    cout<<"OK"<<endl;

    else

    cout<<"NG"<<endl;

	return 0;

}


// Faster C++ solution for the same problem (measured speedup: 5.294056413741162x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}
// Slower C++ solution:
/**

*Coder: Yeshayah

**/



#include <bits/stdc++.h>

using namespace std;



int main() {

    ios::sync_with_stdio(0);

    cin.tie(0);

    //freopen("in.txt","r",stdin);

    //freopen("out.txt","w",stdout);

    int k, a, b;

    cin >> k >> a >> b;

    int p = a / k;

    p += a % k == 0 ? 0 : 1;

    if (b >= p * k) cout << "OK\n";

    else cout << "NG\n";

    return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.353645588563084x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}
// Slower C++ solution:
#include <bits/stdc++.h>



using namespace std;



int main(){

    int n,i,A,B,d,flag=0;

    cin>>n>>A>>B;

    for(i=1;i<=1000;i++){

        if(n>0){d=i%n;}

        if(d==0){

            if(i>=A && i<=B){

                    flag=1;



            }

        }

    }

    if(flag==1){cout<<"OK"<<endl;}

    if(flag==0){cout<<"NG"<<endl;}



    return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.324916025056015x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}
// Slower C++ solution:
#include<bits/stdc++.h>

using namespace std;



int main()

{

    int a,b,k;

    cin>>k;

	cin>>a>>b;

    int i=a;

    while(i<=b)

    {

        if(i%k==0)

        {



            cout<<"OK"<<endl;

            break;

        }

        i++;

    }

    if(i==b+1)

        cout<<"NG"<<endl;



}

// Faster C++ solution for the same problem (measured speedup: 5.293613156909739x):
#include<stdio.h>



int main()

{

	int k, a, b, i;

	int count = 0;

	scanf("%d", &k);

	scanf("%d %d", &a, &b);

	

	for (i = a; i <= b; i++)

	{

		if (i % k == 0)

		{

			count++;

		}

	}

	

	if (count > 0)

	{

		printf("OK\n");

	}

	

	else

	{

		printf("NG\n");

	}

	

	return 0;

}