测试2

Time Limit: 1000 ms Memory Limit: 65536 KiB

Problem Description

.

Input

Output

Sample Input

Sample Output

Hint

Source

lxw