#P1504. [NOIP2015 普及组] 求和

[NOIP2015 普及组] 求和

Description

Input Format

Output Format

6 2
5 5 3 2 2 2
2 2 1 1 2 1
82

Hint

Source

NOIP