package no9005; import java.io.PrintStream; import java.io.UnsupportedEncodingException; import java.util.Scanner; public class Main { public static void main(String[] args) throws UnsupportedEncodingException { Scanner sc = new Scanner(System.in,"UTF-8"); StringBuilder sb = new StringBuilder(); sb.append(sc.next()); PrintStream out = new PrintStream(System.out, true, "UTF-8"); out.println(sb.reverse().toString()); } }