14031 - Palindrome String   

Description

給定一個字串,請判斷是否為回文字串

 

舉例:

  • 如果字串是abcba,則需判斷 一個回文字串

  • 如果字串是2468,則需判斷 不是 一個回文字串

 

 

Input

一個字串str

 

Note:

        str可包含大小寫英文字母數字,且字串長度不超過10位數(最多10個字元)

 

 

Output

輸出比須符合以下格式:

bool

 

Note:

  1. 輸出的最後必須要有一個換行符號 (“\n”)      

  2. bool "true", "false" 其中一個

Sample Input  Download

Sample Output  Download

Tags




Discuss