Three Blocks Palindrome Hard Version