Problem list
Log in
#r03324 · Online Judge > GoldOJ

37 Minutes Earlier

Bronze III 1.0 s 256 MB

Given the current time in hours $h$ and minutes $m$ (24-hour clock), print the time $37$ minutes earlier as hours minutes.

Input

Two integers $h$ ($0 \le h \le 23$) and $m$ ($0 \le m \le 59$).

Output

Print the earlier hour and minute, space-separated.

Example 1

Input
0 10
Output
23 33
Source
Online Judge > GoldOJ
Appears in
Not part of a ladder, contest or set yet.
Accepted 0 Submissions 0 Acceptance 0% Solvers 0

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code