Palindrome

Given a lowercase word of at most 20 characters, decide whether it reads the same forwards and backwards.

Easy2StringTwo pointersImplementationInterviewNo attempts yetTime limit2sMemory limit512 MB

Problem

A palindrome is a word that reads the same from the front and from the back. For example, eve and eevee are palindromes, and eeve is not. Given a word, decide whether it is a palindrome.

Input

The first line contains a word whose length is at most 20. The word consists of lowercase letters only.

Output

Print "true" if the given word is a palindrome, and "false" otherwise, on one line.