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