#include <bits/stdc++.h>
int main() {
  int n, a[110], b[110], p1, p2, i, x = 0, f = 1, j;
  scanf("%d", &n);
  scanf("%d", &p1);
  for (i = 0; i < p1; i++) {
    scanf("%d", &a[i]);
  }
  scanf("%d", &p2);
  for (i = 0; i < p2; i++) {
    scanf("%d", &b[i]);
  }
  for (i = 1; i <= n; ++i) {
    for (j = 0; j < n; ++j) {
      if (a[j] == i || b[j] == i) {
        x = 1;
        break;
      }
    }
    if (x == 1)
      x = 0;
    else if (x == 0) {
      f = 0;
      break;
    }
  }
  if (f)
    printf("I become the guy.\n");
  else
    printf("Oh, my keyboard!\n");
}
