#P1151. 龙虎斗
龙虎斗
Description

Input Format

Output Format

输入 #1 输出 #1
6 2
2 3 2 3 2 3
4 6 5 2
输入 #2 输出 #2
6 1
1 1 1 1 1 16
5 4 1 1
Hint
