#include #include #include #include using namespace std; int main() { int A, B; cin >> A >> B; int cnt = 0; for (int ia = 23; ia <= 25; ia++) { if (A <= ia && ia <= B) { cnt++; } } cout << 3-cnt << endl; }