#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x, y, i, a[300], count = 0;
  cin >> n;
  cin >> x;
  for (i = 0; i < x; i++) {
    cin >> a[i];
  }
  cin >> y;
  for (i = x; i < y + x; i++) {
    cin >> a[i];
  }
  sort(a, a + x + y);
  for (i = 0; i < y + x; i++) {
    if (a[i] != a[i + 1]) {
      count++;
    }
  }
  if (count == n) {
    cout << "I become the guy." << '\n';
  } else {
    cout << "Oh, my keyboard!" << '\n';
  }
  return 0;
}
