#include <bits/stdc++.h>
using namespace std;
int n, p, a[111], q, b[111], freq[111];
bool boo = 1;
int main() {
  cin >> n;
  cin >> p;
  for (int i = 1; i <= p; i++) {
    cin >> a[i];
  }
  cin >> q;
  for (int i = 1; i <= q; i++) {
    cin >> b[i];
  }
  for (int i = 1; i <= n; i++) {
    freq[a[i]]++;
    freq[b[i]]++;
  }
  for (int i = 1; i <= n; i++) {
    if (freq[i] == 0) {
      boo = 0;
      break;
    }
  }
  if (boo == 1)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
}
