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