Volem expandir i imprimir elements dels quals en sabem la quantitat.
Entrada
L’entrada consisteix un línia amb les quantitats de cada element.
Sortida
La sortida ha d’imprimir cada element la quantitat de vegades indicada.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.
Public test cases
Input
3 Alfred 5 Mary 7 Peter
Output
Alfred Alfred Alfred
Mary Mary Mary Mary Mary
Peter Peter Peter Peter Peter Peter Peter
Input
3 Alfred 5 Mary 7 Peter
Output
Alfred Alfred Alfred
Mary Mary Mary Mary Mary
Peter Peter Peter Peter Peter Peter Peter