Skip to main content

Reverse a String

Easy

# Reverse a String

Read a single line of text and print it reversed.

Example

12
Input:  hello
Output: olleh

3 test cases will be run on submit (sample tests shown above are also graded).