#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a;
  cin >> a;
  int arr1[a];
  for (int i = 0; i < a; i++) cin >> arr1[i];
  int b;
  cin >> b;
  int arr2[b];
  for (int i = 0; i < b; i++) cin >> arr2[i];
  unordered_set<int> s;
  for (int i = 0; i < a; i++) s.insert(arr1[i]);
  for (int i = 0; i < b; i++) s.insert(arr2[i]);
  int s1 = 0;
  for (auto i = s.begin(); i != s.end(); i++) s1 += *i;
  int s2 = n * (n + 1) / 2;
  if (s1 == s2)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
  return 0;
}
