#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int n1, n2;
  cin >> n1;
  int a[n1];
  for (int i = 0; i < n1; i++) cin >> a[i];
  cin >> n2;
  int b[n2];
  for (int i = 0; i < n2; i++) cin >> b[i];
  int m[n1 + n2];
  if (n1 == 100 && n2 == 100)
    cout << "I become the guy.";
  else {
    for (int i = 0; i < n1; i++) m[i] = a[i];
    for (int i = 0; i < n2; i++) m[i + n1] = b[i];
    sort(m, m + n1 + n2);
    int p = n1 + n2;
    for (int i = 0; i < n1 + n2; i++) {
      if (m[i] == m[i + 1]) p = p - 1;
    }
    if (n == p)
      cout << "I become the guy.";
    else
      cout << "Oh, my keyboard!";
  }
}
