#include #include using namespace std; int main(){ int a,b,c; cin >> a >> b >> c; assert(1<=a&&a<=1000); assert(1<=b&&b<=1000); assert(1<=c&&c<=1000); int ans = 0; for(int p=1; p<5000; p++){ ans += a%p!=c%p && (((a%pc%p)) || ((a%p>b%p) && (b%p2000) cout << "INF" << endl; else cout << ans << endl; return 0; }