The problem statement
Write a program that reads a date-time pair and calculates how many hours have passed since the beginning of the year (1st January, 00:00).
Input data format
The first line contains a date-time pair in the format year-month-dayThour:minute:second.
Output data format
The line containing an integer number.
Write a program that reads a date-time pair and calculates how many hours have passed since the beginning of the year (1st January, 00:00).
Input data format
The first line contains a date-time pair in the format year-month-dayThour:minute:second.
Output data format
The line containing an integer number.