I need a C program for this task
Help NAME_1 calculate the start time of the award ceremony. The holiday of NAME_1 begins with a snowman contest, in which everyone participates at the same time. Immediately after it, the competition for the Best snowshoe begins, during which one participant spends no more than 3 minutes on both attempts. It is known that the snowman competition ends before lunch, the award ceremony can begin only after lunch, a festive lunch from 14.00 to 15.00, competitions are not held during lunch.

Input data
Two lines: the end time of the snowman contest (in HH format.MM), the number of participants (an integer in the range from 3 to 1500).

Output data
The start time of the award ceremony (in HH.MM format).