#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, p, i, q, a, b[101] = {0}, r, flag = 0;
  cin >> n;
  cin >> p;
  for (i = 1; i <= p; i++) {
    cin >> a;
    b[a] += 1;
  }
  cin >> q;
  for (i = 1; i <= q; i++) {
    cin >> r;
    b[r] += 1;
  }
  for (i = 1; i <= n; i++) {
    if (b[i] > 0)
      flag = 1;
    else {
      flag = 0;
      break;
    }
  }
  if (flag == 1)
    cout << "I become the guy." << endl;
  else
    cout << "Oh, my keyboard!" << endl;
  return 0;
}
