Problem
Input format
The program reads from standard input a single line containing the string `s`. - the string has at most `255` characters - spaces, punctuation, and case differences are ignored - a string with a single character or an empty string is considered a palindrome
Output format
The program prints to standard output `DA` or `NU`, followed by a newline.
Example
Ele fac cafele
DA
Stuck?
Use the Get Hint button in the action bar to reveal a guided hint.
💬 Discussion
Loading...No comments yet. Be the first to start the discussion!
Sample cases (from the problem)
Sample Case 1
Ele fac cafele
DA
Solve it your way first
Community solutions unlock after you submit a passing solution. Don't peek.
Ready to solve this challenge?
Create a free account to write code, submit solutions, and track your progress.