Problem 36: Double-base palindromes