#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, n, c, a, b;
  cin >> n;
  set<int> s;
  cin >> a;
  for (i = 1; i <= a; i++) {
    cin >> c;
    s.insert(c);
  }
  cin >> b;
  for (i = 1; i <= b; i++) {
    cin >> c;
    s.insert(c);
  }
  if (s.size() == n)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
  return 0;
}
