#include using namespace std; int c[33],a,b; main() { cin>>a>>b; for(;a<=b;a++)c[a]=1; cout<<3-c[23]-c[24]-c[25]<