3. On a plane, a certain number of triangles are drawn, the lengths of whose sides are ten-digit natural numbers, containing only threes and eights in their decimal representation. No segment belongs to two triangles, and the sides of all triangles are distinct. What is the maximum number of triangles that can be drawn?
Answer: 341

## Examples of how to write the answer:

## 17

#