Back
Close

Even Stranger Things

Statement

 Goal

The Demogorgon is coming! There is only one way to stop it: if you can convince it that you're on their side, it will leave you alone.
In order to do this, you must turn your text ... Upside Down
Input
Line 1: A lowercase string s that needs to be turned upside down
Output
Line 1: The input string with the following letters upside down: a-e, b-p, d-q, m-w, n-u, s-z (and vice versa of course)
Constraints
All letters will be lowercase.
Punctuation should be left as it is.
Example
Input
run
Output
rnu

Game modes
Fastest, Shortest

Test cases
Run Test
Input
run
Output
rnu

Keep running Validator
Input
keep running
Output
kaab rnuuiug

Dustin Test
Input
dustin
Output
qnztiu

Dust in the wind Validator
Input
dust in the wind
Output
qnzt iu tha miuq

Welcome Test
Input
welcome to hawkins, demogorgon
Output
malcowa to hemkiuz, qawogorgou

Get out Validator
Input
now get out
Output
uom gat ont

Where is Will Test
Input
where is will, that's the question
Output
mhara iz mill, thet'z tha dnaztiou

There is a way Validator
Input
if there is a will, there is a way
Output
if thara iz e mill, thara iz e mey

Solution language

Solution

Stub generator input