#include <bits/stdc++.h>
using namespace std;
int main() {
  set<int> s;
  int t, n, m, temp;
  cin >> t;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> temp;
    s.insert(temp);
  }
  cin >> m;
  for (int i = 0; i < m; i++) {
    cin >> temp;
    s.insert(temp);
  }
  if (s.size() == t)
    cout << "I become the guy.\n";
  else
    cout << "Oh, my keyboard!\n";
  return 0;
}
