Computer Programming Contest Preparation

ToolBox - Source for: 8/821/a.in



/home/toolbox/public_html/solutions/8/821/a.in
    1 1 2 2 4 1 3 3 1 4 3 0 0
    2 1 2 1 4 4 2 2 7 7 1 0 0
    3 0 0
    4