SP5147 FCSYS - Fire-Control System

Description

Please click [here](http://www.spoj.com/content/john_jones:hangzhou2008.pdf) to download a PDF version of the contest problems. The problem is problem F in the PDF. Remember that you must use stdin/stdout at SPOJ.

Input Format

N/A

Output Format

N/A