#include using namespace std; int main(){ int a,b; cin>>a>>b; if((a<=25 and b>=25) or (a>25 and b<=31)) cout<<"0"<=24) cout<<"1"<=23) cout<<"2"<