Palindromic String
Practice
4 (2539 votes)
Easy
Problem
77% Success 360451 Attempts 10 Points 1s Time Limit 256MB Memory 1024 KB Max Code
You have been given a String S. You need to find and print whether this string is a palindrome or not. If yes, print "YES" (without quotes), else print "NO" (without quotes).
Input Format
The first and only line of input contains the String S. The String shall consist of lowercase English alphabets only.
Output Format
Print the required answer on a single line.
Constraints \( 1 \le |S| \le 100 \)
Note
String S consists of lowercase English Alphabets only.
Submissions
Please login to view your submissions
Similar Problems
1.Zoos
Points:10
1156 votes
Tags:
Basic ProgrammingInput/Output
Points:10
2431 votes
Tags:
Easy
Points:10
750 votes
Tags:
Basic ProgrammingEasyInput/Output
Editorial