// File: /workspace/github_cpp_makefile_star2_O3/kdungs[P]codecon/src/mug.cc
// Function: main
int main() {
  auto colors =
      std::vector<std::string>{"White", "Black", "Blue", "Red", "Yellow"};

  auto line = std::string{};
  std::cin >> line;  // ignore number

  while (std::cin >> line) {
    auto pos = std::find(std::begin(colors), std::end(colors), line);
    if (pos != std::end(colors)) {
      colors.erase(pos);
      if (colors.size() == 1u) {
        std::cout << colors[0] << '\n';
        break;
      }
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc8, %rsp
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xd09(%rip), %rsi       # 0x2004
leaq 0xd07(%rip), %rdx       # 0x2009
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x15f8
leaq 0x48(%rsp), %r14
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xce6(%rip), %rsi       # 0x200a
leaq 0xce4(%rip), %rdx       # 0x200f
movq %r14, %rdi
callq 0x15f8
leaq 0x68(%rsp), %r14
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xcc8(%rip), %rsi       # 0x2010
leaq 0xcc5(%rip), %rdx       # 0x2014
movq %r14, %rdi
callq 0x15f8
leaq 0x88(%rsp), %r14
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xca3(%rip), %rsi       # 0x2015
leaq 0xc9f(%rip), %rdx       # 0x2018
movq %r14, %rdi
callq 0x15f8
leaq 0xa8(%rsp), %r14
leaq 0xb8(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xc7d(%rip), %rsi       # 0x2019
leaq 0xc7c(%rip), %rdx       # 0x201f
movq %r14, %rdi
callq 0x15f8
leaq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0xf(%rsp), %rcx
movl $0x5, %edx
callq 0x1546
movq $-0xa0, %rbx
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x13df
movq (%r15), %rsi
incq %rsi
callq 0x10c0
addq $-0x20, %r15
addq $0x20, %rbx
jne 0x13cb
leaq 0x28(%rsp), %rsi
movq %r12, (%rsi)
movq $0x0, 0x8(%rsi)
movb $0x0, 0x10(%rsi)
movq 0x2bdc(%rip), %rdi      # 0x3fe0
callq 0x1100
movq 0x2bd0(%rip), %rbx      # 0x3fe0
leaq 0x28(%rsp), %r14
leaq 0x10(%rsp), %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1100
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x1492
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq %r14, %rdx
callq 0x1875
cmpq 0x18(%rsp), %rax
je 0x141a
movq %r15, %rdi
movq %rax, %rsi
callq 0x199c
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
subq %rax, %rcx
cmpq $0x20, %rcx
jne 0x141a
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x2b58(%rip), %rdi      # 0x3fd0
callq 0x10e0
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x10e0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x14a9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x10c0
leaq 0x10(%rsp), %rdi
callq 0x158e
xorl %eax, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x1519
jmp 0x1519
movq %rax, %r15
leaq 0xc8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1170
jmp 0x153d
jmp 0x14e5
jmp 0x14e5
jmp 0x14e5
movq %rax, %r15
addq $-0x10, %r14
movq -0x10(%r14), %rdi
cmpq %rdi, %r14
je 0x1500
movq (%r14), %rsi
incq %rsi
callq 0x10c0
leaq -0x20(%r14), %rax
addq $-0x10, %r14
cmpq %rbx, %r14
movq %rax, %r14
jne 0x14ec
jmp 0x153d
movq %rax, %r15
jmp 0x153d
jmp 0x1519
movq %rax, %r15
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x1533
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x10c0
leaq 0x10(%rsp), %rdi
callq 0x158e
movq %r15, %rdi
callq 0x1140
nop