Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std ;
- #define sz(s) int(s.size())
- #define all(s) s.begin() , s.end()
- #define getline(s) getline(cin >> ws, s)
- #define cin(v) for (auto& i : v) cin >> i ;
- #define pb(x) push_back(x)
- #define ll long long
- #define ull unsigned long long
- #define Mod 1'000'000'007
- #define INF 2'000'000'000
- #define Num_of_Digits(n) ((int)log10(n)+1)
- #define fixed(n) fixed << setprecision(n)
- #define imin INT_MIN
- #define imax INT_MAX
- #define Time cerr << "Time Taken: " << (float)clock() / CLOCKS_PER_SEC << " Secs" << "\n" ;
- void ABDEL3AL () {
- ios_base::sync_with_stdio(false); cin.tie(nullptr) , cout.tie(nullptr) ;
- #ifndef ONLINE_JUDGE
- freopen("input.txt" , "r" , stdin) , freopen("output.txt" , "w" , stdout) ;
- #endif
- Time
- }
- int main() {
- ABDEL3AL() ;
- int t = 1 ;
- //cin >> t ;
- while (t--) {
- int n ;
- cin >> n ;
- set < int > lvl ;
- int n1 , n2 ;
- cin >> n1 ;
- vector < int > v1(n1) ;
- cin(v1) ;
- cin >> n2 ;
- vector < int > v2(n2) ;
- cin(v2) ;
- lvl.insert(v1.begin() , v1.end()) , lvl.insert(v2.begin() , v2.end()) ;
- bool pass = true ;
- for (int i = 1; i <= n; i++) {
- if (lvl.find(i) == lvl.end()) pass = false ;
- break ;
- }
- cout << (pass ? "I become the guy." : "Oh, my keyboard!") ;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment