#include <bits/stdc++.h>
using namespace std;
int main() {
  int k, n, m, arr[1005] = {0}, s = 0;
  cin >> n;
  cin >> m;
  for (int i = 0; i < m; i++) {
    cin >> k;
    if (!arr[k]) {
      arr[k]++;
      s++;
    }
  }
  cin >> m;
  for (int i = 0; i < m; i++) {
    cin >> k;
    if (!arr[k]) {
      arr[k]++;
      s++;
    }
  }
  if (s == n)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
  return 0;
}
