PROGRAMMING:Keven's Lab
A certain experiment needs to count the time, record the beginning and ending time of the experiment, and calculate how many seconds the experiment took.
###Input format:
In the first line, enter an integer n to represent the number of samples. Next, there are two lines for each group of samples, representing the start time and end time. The format is xdayhh: mm: SS. X is an integer representing the day, 0 < x < 20000. HH represents the hour, mm represents the minute, and SS represents the second. Ensure that the time is legal, and the end time is later than the start time.
###Output format:
Each group of data output a line of an integer, indicating the number of seconds.
###Input example:
```in
two
1day03:26:12
1day04:26:12
123day15:00:01
19999day15:00:00
```
###Output example:
```out
three thousand and six hundred
one billion seven hundred and seventeen million two hundred and eighty-six thousand three hundred and ninety-nine
```
answer:If there is no answer, please comment
###Input format:
In the first line, enter an integer n to represent the number of samples. Next, there are two lines for each group of samples, representing the start time and end time. The format is xdayhh: mm: SS. X is an integer representing the day, 0 < x < 20000. HH represents the hour, mm represents the minute, and SS represents the second. Ensure that the time is legal, and the end time is later than the start time.
###Output format:
Each group of data output a line of an integer, indicating the number of seconds.
###Input example:
```in
two
1day03:26:12
1day04:26:12
123day15:00:01
19999day15:00:00
```
###Output example:
```out
three thousand and six hundred
one billion seven hundred and seventeen million two hundred and eighty-six thousand three hundred and ninety-nine
```
answer:If there is no answer, please comment