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