Revert "added palindromic input check"

This reverts commit aee3ca5b5270a82721b8985100108cfb79473fbe.