#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int p, q, value;
  cin >> p;
  vector<int> a;
  for (int i = 0; i < p; i++) {
    cin >> value;
    a.push_back(value);
  }
  cin >> q;
  int s = p + q;
  if (s == 0) {
    cout << "Oh, my keyboard!" << endl;
    return 0;
  }
  for (int i = p; i < s; i++) {
    cin >> value;
    a.push_back(value);
  }
  sort(a.begin(), a.end());
  int x = 0, j;
  for (int i = 1, j = 0; i <= n; i++, j++) {
    if (a[j] == a[j + 1]) {
      i--;
    } else if (a[j] == i) {
      x++;
    } else if (a[j] == 0) {
      x = 0;
      break;
    }
  }
  if (x == n)
    cout << "I become the guy." << endl;
  else
    cout << "Oh, my keyboard!" << endl;
  return 0;
}
