Write a program which reverses a given string str.



Input

str (the size of str ≤ 20) is given in a line.

Output

Print the reversed str in a line.

Example

Input

w32nimda


Output

admin23w
class Main
{
	public static void main( String[] args )
	{
		java.util.Scanner sc = new java.util.Scanner( System.in );
		
		String str = sc.next();
		
		for( int index = str.length()-1 ; index >= 0 ; index-- )
			System.out.print( str.charAt( index ) );
		System.out.println();
	}
}