#include using namespace std; int main(){ int a,b,ans=3; cin>>a>>b; for(int i=23;i<=25;++i){ if(a<=i&&i<=b)--ans; } cout<