WC '15 Contest 1 J1 - Do You Know Your Woburn Colours?

View as PDF

Submit solution


Points: 3
Time limit: 1.0s
Memory limit: 16M

Authors:
Problem type
Woburn Challenge 2015-16 Round 1 - Junior Division

Welcome to the first Woburn Challenge in over a decade! We hope you find these contests fun and challenging.
Let's start by getting to know Woburn a little more. Woburn's school cheer is the legendary Wildcat Song, and it starts like this:

CHEER! CHEER! FOR WOBURN...
CHEER WITH ALL YOUR MIGHT.
CHEER FOR OUR COLOURS,
RED AND BLUE AND WHITE.

A true Woburnite obviously knows Woburn's colours by heart.
Do you think you have what it takes to identify them?

Given any two of the three Woburn colours in no particular order, your task is to name the third one.

Input Specification

There will be two lines of input given to your program. Each line will contain one of Woburn's colours in all uppercase letters.
Each of the colours will be one of RED, BLUE, or WHITE, and the two colours given are guaranteed to be distinct.

Output Specification

Output a single line containing the Woburn colour that was not mentioned in the input. Your output must be in all uppercase.

Sample Input

RED
BLUE

Sample Output

WHITE

Comments

There are no comments at the moment.