CT1725

The Mirror Check of the Verdant verses

EasyL2 · Byte BanditAcceptance: 0.0%XP: 10

The council of the herring shoals of Silverfin pays by the answer, and Gino intends to earn it. First: the full register of verses. Task: Print YES if s reads the same forwards and backwards, otherwise NO. Input format: One line with a single lowercase string s. Output format: Print YES or NO. Constraints: 1 <= |s| <= 174; s contains lowercase English letters.

Example 1:

Input: uydeepnxdwxhzfjuohelxmbnfuaetqtuanbzhiuplmtcmwpjebzdeavqyrmpplslmfgeilkzmqr
Output: NO

Example 2:

Input: bvlzjwzstpfteyqeegitaeeafbizqunsvdfbxcxeeymyavwvuowksjfbtbrotpbncqkzcreunucuvjzzakngnypkyfiqvswvsaidpqizuefupjeiruxgrmjnfcfhkuwdddtwxweoceniziympvobvmcqazq
Output: NO

Example 3:

Input: oelywujhmsxbppdalnkskxaizjbvzejtybytrtwibwozotanndqqdnnatozowbiwtrtybytjezvbjziaxksknladppbxsmhjuwyleo
Output: YES

Constraints:

1 <= |s| <= 174; s contains lowercase English letters.

Loading...
Test Cases:No test cases
No test cases available.
The Mirror Check of the Verdant verses - EASY Coding Problem | CodeTikki