#P1512. [NOIP2013 普及组] 小朋友的数字

[NOIP2013 普及组] 小朋友的数字

Description

Input Format

Output Format

5 997
1 2 3 4 5
21

Hint

Source

NOIP