#include <bits/stdc++.h>
using namespace std;
int n, x, y, nr;
int a[110], b[110];
bool used[110];
int main() {
  cin >> n;
  cin >> x;
  for (int i = 1; i <= x; ++i) {
    cin >> nr;
    used[nr] = true;
  }
  cin >> y;
  for (int i = 1; i <= y; ++i) {
    cin >> nr;
    used[nr] = true;
  }
  for (int i = 1; i <= n; ++i) {
    if (!used[i]) {
      cout << "Oh, my keyboard!";
      return 0;
    }
  }
  cout << "I become the guy.";
  return 0;
}
