Under construction

Still being built. Things may change

Defense Clock

Time limit2sMemory limit1024 MB

Summary
Given the total service days N and completed days M, print the Defense Clock time in HH:MM, where 1440 minutes span the full service period, truncated to whole minutes.
Level

Easy2 of 10

Topics
Math, Implementation
Solved
No attempts yet

Problem

Sky still has 286286 days left to serve, and every day she looks at the Welcome Clock (어서오시계) to pass the time. The site counts the service status of soldiers in each class in several ways.

One of these is the Defense Clock. It starts at 0000:0000 when a soldier enlists and ends at 2424:0000 when the soldier is discharged. For example, if 25%25\% of military service is done, the clock shows 0606:0000.

For Sky, who checks the Defense Clock every day, you are given the total number of service days and the number of days completed. Find the time the Defense Clock shows.

Input

The first line contains two integers NN and MM, the total number of service days and the number of completed days, separated by a space. (0≤M≤N0 \le M \le N, 638≤N≤641638 \le N \le 641)

Output

Print the time on the Defense Clock in HH:MM format, truncated to whole minutes. HH is an integer from 0 to 24, and MM is an integer from 0 to 59. Pad single digits with a leading 0.

Examples1

  1. Example 1

    Input
    639 353
    
    Expected output
    13:15