#include using namespace std; typedef long long ll; int main() { ll a,b; cin>>a>>b; if (b<=a*200) puts("1"); else puts("2"); return 0; }