#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, i, c = 0, p, q;
  cin >> n;
  int x;
  cin >> p;
  set<int> s;
  for (i = 1; i <= p; i++) {
    cin >> x;
    s.insert(x);
  }
  cin >> q;
  for (i = 1; i <= q; i++) {
    cin >> x;
    s.insert(x);
  }
  c = s.size();
  if (c == n)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
}
