#include <bits/stdc++.h>
using namespace std;
template <class T>
inline std::string to_string(const T& t) {
  std::stringstream ss;
  ss << t;
  return ss.str();
}
template <class T>
inline long long to_longlong(const T& t) {
  std::stringstream ss;
  long long val;
  ss.str(t);
  ss >> val;
  return val;
}
int main() {
  std::ios::sync_with_stdio(false);
  int n, arr[105], p, q, x;
  memset(arr, 0, sizeof(arr));
  cin >> n;
  cin >> p;
  for (int i = 0; i < p; i++) {
    cin >> x;
    arr[x]++;
  }
  cin >> q;
  for (int i = 0; i < q; i++) {
    cin >> x;
    arr[x]++;
  }
  bool flag = true;
  for (int i = 1; i <= n && flag; i++) {
    if (arr[i] == 0) flag = false;
  }
  if (flag)
    cout << "I become the guy." << endl;
  else
    cout << "Oh, my keyboard!" << endl;
  return 0;
}
