Advertisement
ivangarvanliev

Untitled

Jun 2nd, 2024
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5.     int n;
  6.     cin>>n;
  7.     int x;
  8.     cin >>x;
  9.    
  10.     set<int>st;
  11.     for(int i=0;i<x;i++){
  12.        int q;
  13.        cin>>q;
  14.         st.insert(q);
  15.     }
  16.     int y;
  17.     cin>>y;
  18.     for(int k;k<y;k++)
  19.     {
  20.         int o;
  21.         cin>>o;
  22.         st.insert(o);
  23.     }
  24.     if(st.size()==n){
  25.         cout<<"I become the guy."<<endl;
  26.     }
  27.     else{
  28.         cout<<"Oh, my keyboard!"<<endl;
  29.     }
  30.    
  31.     return 0;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement