#include <bits/stdc++.h>
using namespace std;
int n, m, p;
set<int> numbers;
int main() {
  cin >> n;
  for (int i = 0; i < 2; i++) {
    cin >> m;
    while (m--) {
      cin >> p;
      numbers.insert(p);
    }
  }
  if (numbers.size() == n)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
  return 0;
}
