#include <bits/stdc++.h>
using namespace std;
int main() {
  int count1 = 0;
  map<int, int> m;
  int i = 0;
  int n1, n2, n3;
  int ch;
  scanf("%d", &n3);
  scanf("%d", &n1);
  for (int j = 1; j <= n1; j++) {
    scanf("%d", &ch);
    map<int, int>::iterator itr = m.find(ch);
    if (itr == m.end()) {
      m.insert(make_pair(ch, ch));
      count1++;
    }
  }
  scanf("%d", &n2);
  for (int j = 1; j <= n2; j++) {
    scanf("%d", &ch);
    map<int, int>::iterator itr = m.find(ch);
    if (itr == m.end()) {
      m.insert(make_pair(ch, ch));
      count1++;
    }
  }
  if (count1 == n3)
    printf("I become the guy.");
  else
    printf("Oh, my keyboard!");
  return 0;
}
