Hassan lives in a village and has to take the bus to college every day. Hassan is in his final year studying Computer Science Engineering. He had a great passion for the watch when he was a child.

It was his childhood to buy a watch at festivals in his hometown. His dad buys him a new smartwatch. In it, he develops an application to find the time differences in the two different time zones.

Can you help him?

**Input:**
First line integer A, B denoting hours of two different zone.
Second line integer C, D denoting the minutes of the different zone.
Third line E, F denoting the seconds of the different zone.
**Output:**
First-line the difference between Hours,
The second line the difference between Minutes
Third line the difference between the seconds

#include <stdio.h> union Time { int hours,minutes,seconds; }; int main() { union Time startTime,stopTime,diff; scanf("%d%d",&startTime.hours,&stopTime.hours); diff.hours=startTime.hours - stopTime.hours; printf("%d\n",diff.hours); scanf("%d%d",&startTime.minutes,&stopTime.minutes); diff.minutes=startTime.minutes - stopTime.minutes; printf("%d\n",diff.minutes); scanf("%d%d",&startTime.seconds,&stopTime.seconds); diff.seconds=startTime.seconds - stopTime.seconds; printf("%d\n",diff.seconds); return 0; }

**INPUT_1:**

20 14

15 10

10 08

**OUTPUT:**

6

5

2

**INPUT_2:**

18 9

19 10

15 08

**OUTPUT:**

9

9

7

**ILLUSTRATION example**

Morae Q!

- Find how long will it take till the next fortune year from the current year.
- Find if it’s possible to distribute all the crayons into boxes and satisfy all the conditions.
- Compute sum of numbers using call by reference.
- Compute the amount of money to be handed over with conditions.
- Find the total number of beautiful triplets in the sequence.
- Find the total amount each worker has to pay individually.
- Find the minimum distance between any pair of equal elements in the array.
- Compute the maximum possible value of the given equation.
- Find the age of the student at the time of joining.
- Compute the total number of photos at each restaurant .
- Find the sum of digits of the number using Union datatype.
- Generate the details of the novels in the expected format.
- Sort the student details based on their names in ascending order.
- Find a way to move the king from current position to different square on chessboard.
- Find the time differences in the two different time zones.
- Identifying the greatest number with a numerator and denominator.
- Find the Minimum number of packages to supply all the bases.
- Tower of Hanoi, A puzzle.
- Compute the sum of array of elements using recursion method.
- Find the super digit of an integer using the rules.