The problem statement
Write a program that subtracts N hours and adds M minutes to a date-time pair.
Input data format
The first line contains a date-time pair (year-month-dayThours:minutes). The second line contains two numbers separated by a space: hours to subtract and minutes to add.
Output data format
Output data format
A single line with a date-time pair (year-month-dayThours:minutes).