The Time dataclass has two fields: hour (int, from 0 to 23) and minute (int, from 0 to 59). This represents a specific time in a day.

The Event dataclass has three fields: name (str), start (Time), and stop (Time). This represents a specific Event. The start and stop times are considered to be the same day.

Define a function event_duration that consumes an Event and produces an int representing how long the event is in minutes, by subtracting appropriate fields of the start time from the stop time. For example, if the start time was Time(4, 30) and the end time was Time(12, 15) then the result would be 465.

Hint: You will need to convert the hours to minutes. There are 60 minutes in an hour.