import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        char[] list=sc.nextLine().toCharArray();
        int n=list.length;
        while(n-->0) {
            System.out.print(list[n]);
        }
        System.out.println();
        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        char[] list=sc.nextLine().toCharArray();
        int n=list.length;
        while(n-->0) {
            System.out.print(list[n]);
        }
        System.out.println();
        sc.close();
    }
} Main public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        char[] list=sc.nextLine().toCharArray();
        int n=list.length;
        while(n-->0) {
            System.out.print(list[n]);
        }
        System.out.println();
        sc.close();
    } main {
        Scanner sc=new Scanner(System.in);
        char[] list=sc.nextLine().toCharArray();
        int n=list.length;
        while(n-->0) {
            System.out.print(list[n]);
        }
        System.out.println();
        sc.close();
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) char[] list=sc.nextLine().toCharArray(); list sc.nextLine().toCharArray() sc.nextLine().toCharArray sc.nextLine() sc.nextLine sc int n=list.length; n list.length list list.length while(n-->0) {
            System.out.print(list[n]);
        } n-->0 n-- n 0 {
            System.out.print(list[n]);
        } System.out.print(list[n]) System.out.print System.out System System.out list[n] list n System.out.println() System.out.println System.out System System.out sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        char[] list=sc.nextLine().toCharArray();
        int n=list.length;
        while(n-->0) {
            System.out.print(list[n]);
        }
        System.out.println();
        sc.close();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        char[] list=sc.nextLine().toCharArray();
        int n=list.length;
        while(n-->0) {
            System.out.print(list[n]);
        }
        System.out.println();
        sc.close();
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        char[] list=sc.nextLine().toCharArray();
        int n=list.length;
        while(n-->0) {
            System.out.print(list[n]);
        }
        System.out.println();
        sc.close();
    }
}
