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