
import java.util.Scanner;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author User
 */
public class Main {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String iu = input.next();
        StringBuffer inu = new StringBuffer(iu);
        System.out.println(inu.reverse());
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String iu = input.next();
        StringBuffer inu = new StringBuffer(iu);
        System.out.println(inu.reverse());
    }
} Main public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String iu = input.next();
        StringBuffer inu = new StringBuffer(iu);
        System.out.println(inu.reverse());
    } main {
        Scanner input = new Scanner(System.in);
        String iu = input.next();
        StringBuffer inu = new StringBuffer(iu);
        System.out.println(inu.reverse());
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) String iu = input.next(); iu input.next() input.next input StringBuffer inu = new StringBuffer(iu); inu new StringBuffer(iu) System.out.println(inu.reverse()) System.out.println System.out System System.out inu.reverse() inu.reverse inu String[] args args public class Main {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String iu = input.next();
        StringBuffer inu = new StringBuffer(iu);
        System.out.println(inu.reverse());
    }
} public class Main {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String iu = input.next();
        StringBuffer inu = new StringBuffer(iu);
        System.out.println(inu.reverse());
    }
} Main

import java.util.Scanner;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author User
 */
public class Main {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String iu = input.next();
        StringBuffer inu = new StringBuffer(iu);
        System.out.println(inu.reverse());
    }
}