#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ;
  bool b = false;
  int n;
  cin >> n;
  int p, q;
  cin >> p;
  vector<int> v(p);
  for (int i = 0; i < p; i++) cin >> v[i];
  cin >> q;
  vector<int> v1(q);
  for (int i = 0; i < q; i++) cin >> v1[i];
  set<int> s;
  for (int i = 0; i < v.size(); i++) s.insert(v[i]);
  for (int i = 0; i < v1.size(); i++) s.insert(v1[i]);
  if (s.size() == n)
    cout << "I become the guy." << '\n';
  else
    cout << "Oh, my keyboard!" << '\n';
}
