#B2124. Palindrome Checker

    ID: 11206 Type: Default 1000ms 256MiB

Palindrome Checker

Palindrome Checker

Given an input string, determine whether the string is a palindrome. A palindrome is a string that reads the same forward and backward. In mathematical terms, if we denote the string as \( s \) and its reverse as \( s^R \), then the condition for being a palindrome is \( s = s^R \).

inputFormat

The input consists of a single line containing a string.

outputFormat

Output True if the input string is a palindrome; otherwise, output False.

sample

aba
True