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