Problem Statement -------- AtCoder has decided to place web advertisements of $n$ companies on the top page. The space for placing advertisements is a square of size 10000 x 10000. The space for each company must be an axis-parallel rectangle with positive area, and the coordinates of the vertices must be integer values. Different rectangles may touch on their sides, but they must not overlap. In other words, the common area must not have positive area. It is allowed to leave some free space that does not belong to any ad. President Takahashi asked each company for their desired location and area. Company $i$ wants an ad space with area $r_i$ including point $(x_i+0.5, y_i+0.5)$. The satisfaction level $p_i$ of company $i$ is determined as follows. - If the ad space for company $i$ does not contain the point $(x_i+0.5, y_i+0.5)$, then $p_i = 0$. - If the ad space for company $i$ contains the point $(x_i+0.5, y_i+0.5)$ and the area is $s_i$, then $p_i = 1 - (1 - \min(r_i,s_i) / \max(r_i, s_i))^2$. Your task is to determine the placement of the ads so that the sum of the satisfaction levels is maximized. You will get a score of $10^9 \times \sum_{i=0}^{n-1} p_i / n$ rounded to the nearest integer. ![](./images/dbec47df66576ff9e5b5ace9df6d9110.png "Visualization of Sample Output") Input -------- Input is given from Standard Input in the following format: ~~~ $n$ $x_0$ $y_0$ $r_0$ $\vdots$ $x_{n-1}$ $y_{n-1}$ $r_{n-1}$ ~~~ - $50\leq n\leq 200$ - $x_i$ and $y_i$ are integers satisfying $0\leq x_i\leq 9999$ and $0\leq y_i\leq 9999$. For any $i\neq j$, $(x_i,y_i)\neq (x_j,y_j)$ holds. - $r_i$ is an integer at least one and satisfies $\sum_{i=0}^{n-1} r_i=10000\times 10000$. Output -------- Let $(a_i, b_i)$ and $(c_i, d_i)$ ($0\leq a_ihere. To use them, you need a compilation environment of Rust language. {sample example}