[SRM474 Div2 250] PalindromesCount