#include using namespace std; int main(){ int a,b; cin>>a>>b; cout<<3-(a<=23&&23<=b)-(a<=24&&24<=b)-(a<=25&&25<=b)<