import java.util.Scanner;
public class palindrom {
public palindrom() {
}
public static void main(String[] args){
Scanner klavye=new Scanner(System.in);
System.out.print("cümle gir :");
String x=klavye.nextLine(),y="";
int i=x.length(),z;
for(z=i-1;z>=0;z--){
y+=x.charAt(z);
}
Boolean a=x.equals(y);
System.out.println("Palindrom mu? :"+y+"\n"+a);
}}