#include #include #include using namespace std; int main() { int a, b; cin >> a >> b; int cnt = 3; for (int i = 0; i <= b; i++) { if (i == 23 || i == 24 || i == 25) cnt--; } cout << cnt << endl; return 0; }