SCU 2006' Warmup Contest 2

H: Sequence Sum Possibilities