Albums

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

Input

The input starts with an integer NN denoting the number of albums. The next NN lines are on the format “<<name>><<listed>>”, where <<name>> is the name of the album and <<listed>> equals “Y” if the album is listed, and “N” otherwise.

Output

For each album in the order they appear in the input, print one line:
Album: XXX [YYY]
Here, XXX is the name of the album and YYY equals “listed” or “unlisted”.

Problem information

Author: Anders Jonsson

Generation: 2026-01-25T15:18:51.419Z

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