#K92997. Minimum Rotation Angle to Form a Hexagon

    ID: 38321 Type: Default 1000ms 256MiB

Minimum Rotation Angle to Form a Hexagon

Minimum Rotation Angle to Form a Hexagon

In this problem, you are given the base length B and height H of two identical parallelograms, along with the horizontal starting positions x and y of the first and second parallelograms respectively. When arranging these parallelograms to form a hexagon, the second shape must be rotated by a specific angle relative to the first.

It can be mathematically deduced that the required rotation angle is always \(60^\circ\). No matter what values are provided for B, H, x, and y, the answer will always be 60 degrees.

Your task is to write a program that reads four space-separated integers from standard input representing B, H, x, and y respectively and outputs the rotation angle, which is always 60.

inputFormat

The input consists of a single line containing four space-separated integers:

  • B: the base length of the parallelograms
  • H: the height of the parallelograms
  • x: the horizontal starting position for the first parallelogram
  • y: the horizontal starting position for the second parallelogram

You can assume all input values are positive integers.

outputFormat

Output a single integer representing the minimum rotation angle in degrees for the second parallelogram. The answer is always 60.

## sample
4 3 2 5
60