Autocomplete
Time limit2sMemory limit1024 MB
Reads one letter and prints Naver D2 if it is N or n, otherwise prints Naver Whale.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
D2 is short for For Developers, By Developers. It is a developer support program from Naver, built by developers for developers. Naver shares the technology and knowledge it has accumulated, supports outside developers to strengthen developer skills in Korea, and aims to create a cycle in which the whole industry and Naver grow together.
Naver has supported developers for a long time. Its programs included the DEVIEW developer conference, the release of open source and development tools, and support for academic societies and communities. Naver D2 merged these programs into one.
The D2 CAMPUS program supports strong student SW clubs, study groups, academic societies, seminars, and conferences so they can share development knowledge with other student developers.
Seongseo has taken over running a lofty algorithm contest. Seongseo asked several companies to sponsor the prizes for participants, and the contest received its prize money through D2 CAMPUS. Glad not to pay the prize money out of pocket, Seongseo wants the search box to autocomplete to Naver D2 when N or n is typed. Write a program that reads a single letter. If the letter is N or n, print Naver D2. Otherwise, print Naver Whale.
Input
A single letter is given on the first line.
Output
If the given letter is N or n, print Naver D2. Otherwise, print Naver Whale, without the quotes.