Simão needs to discover a number that is the code of the Treasure Ark hidden in the table.

| 5 | 9 | 4 | 9 | 4 | 1 |
| :--- | :--- | :--- | :--- | :--- | :--- |
| 6 | 3 | 7 | 3 | 4 | 8 |
| 8 | 2 | 4 | 2 | 5 | 5 |
| 7 | 4 | 5 | 7 | 5 | 2 |
| 2 | 7 | 6 | 1 | 2 | 8 |
| 5 | 2 | 3 | 6 | 7 | 1 |

To discover the code, he has to form groups of 3 digits that are in consecutive cells, either horizontally or vertically, whose sum is 14. After removing these groups, the code is the sum of the numbers that do not appear in these groups. What is this code?

## Solutions from List 6
In the following two tables, we show only the numbers whose sum is 14, horizontally and vertically, respectively.

|  |  |  | 9 | 4 | 1 |
| :--- | :--- | :--- | :--- | :--- | :--- |
|  |  | 7 | 3 | 4 |  |
| 8 | 2 | 4 |  |  |  |
|  |  |  | 7 | 5 | 2 |
|  | 7 | 6 | 1 |  |  |
|  |  |  | 6 | 7 | 1 |


|  | 9 |  |  |  | 1 |
| :--- | :--- | :--- | :--- | :--- | :--- |
|  | 3 |  |  | 4 | 8 |
|  | 2 |  |  | 5 | 5 |
| 7 |  | 5 | 7 | 5 |  |
| 2 |  | 6 | 1 | 2 |  |
| 5 |  | 3 | 6 | 7 |  |

Thus, when we eliminate these numbers from the initial table, the numbers that survive are:

![](https://cdn.mathpix.com/cropped/2024_05_01_7802a0a2c42db868808eg-7.jpg?height=474&width=394&top_left_y=1962&top_left_x=840)

Therefore, the sum of the remaining numbers is $5+4+6+4+8+2=29$.