import java.io.*;

public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str;
        try {
            str = br.readLine();
            if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            }
        } catch (IOException ex) {
        }
        
    }
} import java.io.*; io.* java public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str;
        try {
            str = br.readLine();
            if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            }
        } catch (IOException ex) {
        }
        
    }
} Main public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str;
        try {
            str = br.readLine();
            if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            }
        } catch (IOException ex) {
        }
        
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str;
        try {
            str = br.readLine();
            if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            }
        } catch (IOException ex) {
        }
        
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str; str try {
            str = br.readLine();
            if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            }
        } catch (IOException ex) {
        } catch (IOException ex) {
        } IOException ex {
        } {
            str = br.readLine();
            if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            }
        } str = br.readLine() str br.readLine() br.readLine br if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            } str.length()<21 str.length() str.length str 21 {
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            } StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append("") sb.append sb "" for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                } int i = 0; int i = 0; i 0 i < str.length() i str.length() str.length str i++ i++ i {
                    sb.insert(0,str.charAt(i));
                } {
                    sb.insert(0,str.charAt(i));
                } sb.insert(0,str.charAt(i)) sb.insert sb 0 str.charAt(i) str.charAt str i System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str;
        try {
            str = br.readLine();
            if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            }
        } catch (IOException ex) {
        }
        
    }
} public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str;
        try {
            str = br.readLine();
            if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            }
        } catch (IOException ex) {
        }
        
    }
} Main
import java.io.*;

public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str;
        try {
            str = br.readLine();
            if(str.length()<21){
                StringBuilder sb = new StringBuilder();
                sb.append("");
                for(int i = 0;i < str.length();i++){
                    sb.insert(0,str.charAt(i));
                }
                System.out.println(sb);
            }
        } catch (IOException ex) {
        }
        
    }
}