#include <bits/stdc++.h>
using namespace std;

int main(){
    int k,a,b,l;
    cin >> k >> a >> b ;

    l=(b/k)*k;

    if(a<=l){
        cout << "YES";
    }else{
        cout << "NG" ;
    }
    return 0;

}