#D3215. Sweet War
Sweet War
Sweet War
Example
Input
2 5 4 5 7 4 8
Output
8 7
inputFormat
Input
2 5 4 5 7 4 8
outputFormat
Output
8 7
样例
2 5 4
5 7
4 8
8 7
Example
Input
2 5 4 5 7 4 8
Output
8 7
Input
2 5 4 5 7 4 8
Output
8 7
2 5 4
5 7
4 8
8 7
By signing up a OpenJudge universal account, you can submit code and join discussions in all online judging services provided by us.