#include <bits/stdc++.h>
using namespace std;
long long a[10000], b[10000];
long long n, x, y, res;
string s1, s2;
char c[10000];
void solve() {}
void readdata() {
  cin >> n;
  cin >> x;
  res = 0;
  for (int i = 1; i <= x; i++) {
    cin >> y;
    if (a[y] == 0) {
      a[y]++;
      res++;
    }
  }
  cin >> x;
  for (int i = 1; i <= x; i++) {
    cin >> y;
    if (a[y] == 0) {
      a[y]++;
      res++;
    }
  }
  if (res == n)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
}
int main() {
  readdata();
  return 0;
}
