#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int n;
  cin >> n;
  int p;
  cin >> p;
  set<int> s;
  while (p--) {
    int x;
    cin >> x;
    s.insert(x);
  }
  int q;
  cin >> q;
  while (q--) {
    int x;
    cin >> x;
    s.insert(x);
  }
  int j = 0, cnt = 0;
  for (auto j : s) {
    cnt++;
  }
  if (cnt == n)
    cout << "I become the guy.\n";
  else
    cout << "Oh, my keyboard!\n";
}
