Unimodal Palindromic Decompositions

ZOJ - 1353