You just graduated from college and got that degree in Computer Science and you are ready to begin your journey out in the world. Your first goal is of course, to get a job and make some money. Luckily, you find a job at a grammar company. Your job is to determine whether or not a word in the dictionary is a palindrome. Palindromes are words that spell the same word even when the order of the characters is reversed. Since you are a smart programmer, you can test whether or not a word is a palindrome with a program. Who knew making money would be this easy!
Input Format
Line 1: A string of text ( between 1 and 10,000 characters long), representing a word that might be a palindrome
Sample Input
racecar
Output Format Line 1: A boolean (true or false) stating whether or not the word is a palindrome.
Sample Output
true
You must be logged in to submit a solution.