Greenwich Clock#7458

Greenwich Clock

1 second
64 megabytes
Easy

In the Greenwich Observatory, there lived an elderly astronomer whose clock stopped one day. To reset it, he decided to rely on his knowledge of the Sun. He wound the clock randomly and began noting the times of sunrise and sunset. The astronomer is aware that, theoretically, the Sun should be at its zenith at exactly :. However, due to his age, he has been uncertain for several days about the accuracy of his clock. Assist the astronomer in verifying his calculations.

Input

Provide 4 numbers representing the hours and minutes of both sunrise and sunset.

Output

Return 2 numbers indicating the hours and minutes of deviation from the correct time.

Examples

Example 1

Loading
Loading