Tracks

There are a number of tracks that are part of a record label. Print the
list of tracks in the appropriate format.

Input

The input starts with an integer N denoting the number of tracks. The
next N 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.

Output

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.

Problem information

Author: Anders Jonsson

Generation: 2026-01-25T21:37:38.596Z

© Jutge.org, 2006–2026.
https://jutge.org
