DWITE Online Computer Programming Contest
October 2007

Problem 3

Where's My QWERTY?

The Dvorak Simplified Keyboard is a keyboard layout patented in 1936 by Dr. August Dvorak, an educational psychologist and professor of education at the University of Washington in Seattle as an alternative to the more common QWERTY layout.

If someone was to have Dvorak enabled on their computer, and a guest was to start typing, expecting the standard QWERTY layout - text will come out as nonsense. You are to write a program to de-scramble any such message.

Input

A single line of text, made up of any of the letters, numbers, and symbols found on the standard USA keyboard layout. The line will contain less than 256 characters and will not contain trailing spaces.

Output

A single translated line of text.

Sample Input

D.nnr <rpne!

Sample Output

Hello World!

Note: the messages are case sensitive, and the translation between lower and upper case is not always trivial.

All Submissions
Best Solutions


Point Value: 5
Time Limit: 2.00s
Memory Limit: 16M
Added: Mar 19, 2010

Languages Allowed:
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3

Comments (Search)

hardcoding