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.pas is the entry point. Add extra units for OOP exercises — they compile together.

Main.pas
Loading...

Run your code to see test results here.