3052 - [wc2013]糖果公园

Input

Output

Examples

Input

Sample Input

Output

84
131
27
84
时间限制 6 秒
内存限制 512 MB
统计
上一题 下一题