#include <bits/stdc++.h>
using namespace std;
int n, a[105], c, x, k;
int main() {
  cin >> n;
  for (int i = 0; i < 2; i++) {
    cin >> x;
    while (x--) cin >> k, c += 1 - a[k], a[k] = 1;
  }
  cout << (c == n ? "I become the guy." : "Oh, my keyboard!");
}
