#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, p1, p2;
  cin >> n;
  cin >> p1;
  int a1[p1];
  for (int i = 0; i < p1; i++) cin >> a1[i];
  cin >> p2;
  int a2[p2];
  for (int i = 0; i < p2; i++) cin >> a2[i];
  sort(a1, a1 + p1);
  sort(a2, a2 + p2);
  vector<int>::iterator it;
  vector<int> res(100);
  it = set_union(a1, a1 + p1, a2, a2 + p2, res.begin());
  res.resize(it - res.begin());
  if (res.size() == n)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
  return 0;
}
