
The Grand Hotel, from commons.wikimedia.org, showing (nearly full) Nordic unity.
Four-Dimensional Grid World needs a new hotel to accommodate the next tourist season. Your task is to design the floor plan of this hotel. The hotel is to be built in a four-dimensional grid of $$$400 \times 400 \times 400 \times 400$$$ cells.
You are given a set $$$R$$$ of at least two cells, any two of which are at distance at least $$$15$$$. Construct a hotel with at most $$$10^6$$$ cells whose rooms are exactly the cells in $$$R$$$.
The input consists of:
Output an integer $$$k$$$ ($$$1 \leq k \leq 10^6$$$), the number of cells of the hotel, followed by $$$k$$$ lines, each with four integers $$$x_1$$$, $$$x_2$$$, $$$x_3$$$, $$$x_4$$$ ($$$0 \leq x_i \leq 399$$$), the coordinates of a cell of the hotel. The cells must be distinct.
It can be shown that a solution always exists. If there are multiple valid solutions, you may output any one of them.
20 0 0 01 2 4 8
16 0 0 0 0 1 0 0 0 1 1 0 0 1 2 0 0 1 2 1 0 1 2 2 0 1 2 3 0 1 2 4 0 1 2 4 1 1 2 4 2 1 2 4 3 1 2 4 4 1 2 4 5 1 2 4 6 1 2 4 7 1 2 4 8
| Name |
|---|


