Problem D: 圣诞礼物

Time Limit: 1 Sec Memory Limit: 512 MB

Description