There are a number of tracks that are part of a record label. Print the list of tracks in the appropriate format.
The input starts with an integer denoting the number of tracks. The next lines are on the format “name–duration”, where name is the name of the track and duration is an integer describing the duration in seconds.
For each track in the order they appear in the input, print one
line:
Track: XXX [YYYs]
Here, XXX is the name of the track and YYY is its duration.
Input
5 Money-390 Welcome to the Jungle-271 Hotel California-390 Bohemian Rhapsody-357 Yellow Submarine-159
Output
Track: Money [390s] Track: Welcome to the Jungle [271s] Track: Hotel California [390s] Track: Bohemian Rhapsody [357s] Track: Yellow Submarine [159s]