The National Resource Company (NRC) plans to use satellite to help identify potential mines. To make the problem clear, NRC assumes that the region of interest is a square of land, which can be coordinated as [0, N]*[0, N]. Potential mines are represented as various points in the square. Due to some technical hindrance, the satellite could only detect a region of square of M*M during a single trial, which will give the details of these potential mines within this detecting region. To further simplify the case, NRC announces that its satellite can only detect a region of square, whose vertex locates at the position of integer coordinates, i.e., [A, M+A]*[B, M+B](A and B are integers, and A>=0, B>=0, M+A<=N, M+B<=N); moreover, all the potential mines would never holds an integer coordinate. Therefore, a program should be provided which can determine the detecting region of the satellite to maximize the number of potential mines within the detecting square.