for(;Q=readline().split(/\W/);print(<>Why, {Q?'yes':'no'}, good sir or madam, this list is{Q?'':' not'} in fact a palindrome))Q=''+Q==Q.reverse()