#P1165. 苹果分割(测试题8)

苹果分割(测试题8)

Description

Input Format

第一行,一个正整数n。
第二行输入n个整数。

Output Format

输出一个整数
5
3 2 7 4 1
1

Source

搜索