Greenwich Clock
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
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 12:00. 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 Data
Provide 4 numbers representing the hours and minutes of both sunrise and sunset.
Output Data
Return 2 numbers indicating the hours and minutes of deviation from the correct time.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 28%