An electronic clock was activated with a new battery at midnight on the first day.It then operated for exactly minutes before stopping.Your task is to determine the day number and the clock's time in hours and minutes when it stopped.
– the number of minutes (0 \leq M \leq 1000000)
Provide three integers separated by spaces: the day number, the number of hours, and the number of minutes displayed on the clock when it stopped.
Example 1
If minutes have passed since the start of the first day, this equates to hours and minutes. Therefore, the output should be:day number – , number of hours – , number of minutes – .