'''
Specification
A palindrome is a word, number, phrase, or any other sequence of 
characters that can read the same forward and backward. Your program is 
given a list of word to decide if each word has two palindromes, one in 
the beginning of the line, the other in the end.

Input format
Each line contains a phrase.

Output format
Output True if the phrase has two palindrome, false otherwise.
'''
