public class Palindrome {
	public static void main(String[] args) {
		try {
			StringBuilder sb = new StringBuilder(args[0]);
			sb.reverse();
			if (sb.toString().equalsIgnoreCase(args[0]))
				System.out.println(args[0] + " - is a Palidrome!");
			else
				System.out.println(args[0] + " - is NOT a Palidrome!");
		} catch (Exception e) {
			System.out.println("usage: java Palindrome \"word or phrase\"");
		}
	}
}