import java.util.Scanner; public class Main{ public static void main(String[]args){ Scanner input=new Scanner(System.in); String[] s=input.next().split(""); System.out.printf("%s%s%s%s",s[3],s[2],s[1],s[0]); } }
import java.util.Scanner; public class Main{ public static void main(String[]args){ Scanner input=new Scanner(System.in); String[] s=input.next().split(""); System.out.printf("%s%s%s%s",s[3],s[2],s[1],s[0]); } }