The electric train traveled from platform A to platform B in $X$ minutes ($0< X<60$). Find $X$ if it is known that as at the moment departure from A, and at the time of arrival at B, the angle between hourly and the minute hand was equal to $X$ degrees.