Doctor Stephen Strings First Problem
Author: Nazmul Alam
Problem Setter: Nazmul Alam35th Intake Dept. Of CSE, BUBT
Dr Stephen String is worlds leading "String Specialist". Everyone says he knows all about the mysterious world of strings. So, the BUBT authority decided to hire him to teach the students all about strings. But he is a very busy man and won't spend his time just for anyone. He will only teach the students who are willing to work hard and have basic knowledge about how to work with strings. So to test that, he provided a problem, If you want to learn more about strings, you must solve this problem.
He will give you a string, you must print the reversed string on a new line.
Input Format
There will be only one line of input containing a string, which will have at most 1000 characters.Output Format
Print the reversed string followed by a new line.Samples
Input
gnirtSnehpetSrM
Output
MrStephenString
Limits
Language | Time | Memory |
GNU C 11 | 1s | 512MB |
GNU C++ 14 | 1s | 512MB |
GNU C++ 11 | 1s | 512MB |
Statistics