I started but got stuck
based from palindrome by @ratty1967UK (I got stuck and searched on google -_-)