// File: /workspace/github_cpp_makefile_star2_O1/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), %r14
movq %r14, %rdi
callq 0x160c
leaq 0x48(%rsp), %rbx
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xce6(%rip), %rsi       # 0x200a
leaq 0xce4(%rip), %rdx       # 0x200f
movq %rbx, %rdi
callq 0x160c
leaq 0x68(%rsp), %rbx
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xcc8(%rip), %rsi       # 0x2010
leaq 0xcc5(%rip), %rdx       # 0x2014
movq %rbx, %rdi
callq 0x160c
leaq 0x88(%rsp), %rbx
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xca3(%rip), %rsi       # 0x2015
leaq 0xc9f(%rip), %rdx       # 0x2018
movq %rbx, %rdi
callq 0x160c
leaq 0xa8(%rsp), %rbx
leaq 0xb8(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xc7d(%rip), %rsi       # 0x2019
leaq 0xc7c(%rip), %rdx       # 0x201f
movq %rbx, %rdi
callq 0x160c
leaq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0xf(%rsp), %rcx
movl $0x5, %edx
callq 0x155e
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 0x187e
cmpq 0x18(%rsp), %rax
je 0x141a
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b2
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 0x15a6
xorl %eax, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x1531
jmp 0x1531
movq %rax, %r15
leaq 0xc8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1170
movb $0x1, %al
jmp 0x14f6
jmp 0x14e7
jmp 0x14e7
jmp 0x14e7
movq %rax, %r15
xorl %eax, %eax
jmp 0x14f6
movq %rax, %r15
xorl %eax, %eax
movq %r14, %rbx
cmpq %rbx, %r14
sete %cl
orb %al, %cl
jne 0x1555
addq $-0x10, %rbx
leaq 0x28(%rsp), %r14
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x151d
movq (%rbx), %rsi
incq %rsi
callq 0x10c0
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %r14, %rbx
movq %rax, %rbx
jne 0x1509
jmp 0x1555
jmp 0x1531
movq %rax, %r15
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x154b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x10c0
leaq 0x10(%rsp), %rdi
callq 0x15a6
movq %r15, %rdi
callq 0x1140
nop