import java.util.Scanner;
public class Test7 {
public static void main(String[] args) {
judgement();
}
public static void judgement(){
Scanner sc=new Scanner(System.in);
System.out.println("请输入一个字符串");
String s= sc.nextLine();
StringBuilder stringBuilder = new StringBuilder(s);
stringBuilder.reverse();
String s1=stringBuilder.toString();
if (s1.equals(s)){
System.out.println("对称");
}
else{
System.out.println("不对称");
}
}
}