#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, i, Xn, Yn, cnt = 0;
  cin >> n;
  cin >> Xn;
  int X[Xn];
  for (i = 0; i < Xn; i++) {
    cin >> X[i];
  }
  cin >> Yn;
  int Y[Yn];
  for (i = 0; i < Yn; i++) {
    cin >> Y[i];
  }
  for (i = 1; i <= n; i++) {
    if (find(X, X + Xn, i) != X + Xn)
      cnt++;
    else if (find(Y, Y + Yn, i) != Y + Yn)
      cnt++;
    else
      continue;
  }
  if (cnt == n)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
}
