#include <bits/stdc++.h>
using namespace std;
int main() {
  int lvls[200];
  int n, no, ctr = 0;
  cin >> n >> no;
  int no2;
  for (int j = 0; j < no; j++) {
    cin >> lvls[j];
  }
  cin >> no2;
  for (int j = no; j < no2 + no; j++) {
    cin >> lvls[j];
  }
  for (int i = 0; i <= n; i++) {
    for (int j = 0; j < no + no2; j++) {
      if (i == lvls[j]) {
        ctr++;
        break;
      }
    }
  }
  if (ctr == n)
    cout << "I become the guy." << endl;
  else
    cout << "Oh, my keyboard!" << endl;
  return 0;
}
