谢谢,谢谢,API调用工程师来了
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
StringBuilder builder = new StringBuilder();
System.out.println(builder.append(s.nextLine()).reverse().toString());
}
}