#include <bits/stdc++.h>
using namespace std;
const int MAXN = 100 + 10;
bool can[MAXN];
int main() {
  int n, p, a;
  cin >> n;
  for (int i = 0; i < 2; i++) {
    cin >> p;
    for (int j = 0; j < p; j++) {
      cin >> a;
      can[a] = true;
    }
  }
  bool res = true;
  for (int i = 1; i <= n; i++)
    if (!can[i]) res = false;
  cout << (res ? "I become the guy." : "Oh, my keyboard!") << endl;
  return 0;
}
