#include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
const double eps = 1e-12;
int maxx, minn;
int maxi, mini;
int cases = 0;
int main() {
  int a[110];
  int n;
  while (cin >> n) {
    memset(a, 0, sizeof(a));
    int p, q, x;
    cin >> p;
    while (p--) {
      cin >> x;
      a[x] = 1;
    }
    cin >> q;
    while (q--) {
      cin >> x;
      a[x] = 1;
    }
    int i;
    for (i = 1; i <= n; i++) {
      if (a[i] == 0) break;
    }
    if (i == n + 1)
      cout << "I become the guy." << endl;
    else
      cout << "Oh, my keyboard!" << endl;
  }
  return 0;
}
