Problem

Source: Tuymaada 2002, day 1, problem 1. - Author : A. Golovanov.

Tags: modular arithmetic, combinatorics proposed, combinatorics



Each of the points $G$ and $H$ lying from different sides of the plane of hexagon $ABCDEF$ is connected with all vertices of the hexagon. Is it possible to mark 18 segments thus formed by the numbers $1, 2, 3, \ldots, 18$ and arrange some real numbers at points $A, B, C, D, E, F, G, H$ so that each segment is marked with the difference of the numbers at its ends? Proposed by A. Golovanov