#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if(x > 100) {
cout << 3;
}else if(x > 50) {
cout << 2;
}else{
cout << 1;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgeDsKCWNpbiA+PiB4OwoJaWYoeCA+IDEwMCkgewoJCWNvdXQgPDwgMzsKCX1lbHNlIGlmKHggPiA1MCkgewoJCWNvdXQgPDwgMjsKCX1lbHNlewoJCWNvdXQgPDwgMTsKCX0KCXJldHVybiAwOwp9