UOJ Logo Universal Online Judge

UOJ

#4946. [Noi2017]蔬菜

统计

Description

 http://www.lydsy.com/JudgeOnline/upload/Noi2017D2.pdf

Input

Output

Sample Input

Sample Output

Hint

Source