Complete the Sequence

HDU - 1121