第一行:最多允许粘贴的邮票张数N;(1≤N≤100)
第二行:邮票种数M;
第三行:空格隔开的M个数字,表示邮票的面值Xi。注意:Xi序列不一定是大小有序的!
10 5 2 4 6 8 10
0
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________