#C14655. Reverse a String

    ID: 44328 Type: Default 1000ms 256MiB

Reverse a String

Reverse a String

The task is to implement a program that reads a string from standard input and outputs the reversed string. This means each character in the input string should appear in reverse order in the output. The reversal process applies to all characters, including spaces, punctuation, and special symbols. It is a simple yet fundamental exercise in string manipulation.

inputFormat

The input consists of a single line containing the string to be reversed. The string may include spaces and special characters.

outputFormat

Output the reversed string on a single line.

## sample