#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 0, a[100004] = {0}, t = 0, k = 0, m = 0, i = 0, j = 0, ans = 0;
  string str, s;
  cin >> n;
  cin >> m;
  for (__typeof(0) i = 0; i <= m - 1; i++) {
    int tem;
    cin >> tem;
    a[tem] = 1;
  }
  cin >> m;
  for (__typeof(0) i = 0; i <= m - 1; i++) {
    int tem;
    cin >> tem;
    a[tem] = 1;
  }
  int f = 0;
  for (__typeof(1) i = 1; i <= n; i++) {
    if (a[i] == 0) {
      f = 1;
      break;
    }
  }
  if (f == 0)
    cout << "I become the guy." << '\n';
  else
    cout << "Oh, my keyboard!" << '\n';
  return 0;
}
