Antipalindrome
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
A palindrome is a string that reads the same on both sides. The string is given. Find its longest substring that is not a palindrome.
Input
The input file contains the string . It consists only of lowercase letters of the Latin alphabet, is not empty, and its length does not exceed characters.
Output
Output the answer to the problem into the output file; if there are several answers, choose the lexicographically minimal one. If all substrings of are palindromes, output NO SOLUTION
.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 20%