Reverse a String

EasyGrade 11

Read a word and print it reversed.

Input / Output

Input: a single word (no spaces). Output: the word, reversed.

Examples

Input

hello

Expected Output

olleh

Input

IEB

Expected Output

BEI

+ 2 hidden tests checked on Submit.

Files

Main.java is the entry point. Add extra classes for OOP exercises — they compile together.

Main.java
Loading...

Run your code to see test results here.