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