Solutions until Palindrome