#include #include using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); pair today; cin >> today.first >> today.second; constexpr pair birthday = { 8, 22 }; if (today < birthday) cout << "23\n"; else cout << "24\n"; return 0; }