#include <bits/stdc++.h>
using namespace std;
int a[110];
int main() {
  int n;
  int p, q, t;
  cin >> n;
  cin >> p;
  for (int i = 1; i <= p; i++) {
    cin >> t;
    a[t] = 1;
  }
  cin >> q;
  for (int i = 1; i <= q; i++) {
    cin >> t;
    a[t] = 1;
  }
  int flag = 1;
  for (int i = 1; i <= n; i++)
    if (a[i] == 0) {
      flag = 0;
      break;
    }
  if (flag)
    cout << "I become the guy." << endl;
  else
    cout << "Oh, my keyboard!" << endl;
  return 0;
}
