Boci, boci tarka, se füle, se farka… This is the beginning of a well-known Hungarian nursery rhyme. The old melody returns in 2019 in a special way. We have collected the money on Kickstarter to create the world's first xylophone with a touch screen (and with a lot of other useful extras)! We need the best professional for programming such complicated devices, so you are our choice.
The device can play tones in two octaves. Let's denote these tones with the characters
Each line of the input describes a melody. A melody is defined inductively as follows:
No lines of the input contain more than 100 characters.
For each melody, print the sequence of tones played by the device, now without operators
Output for Sample Input
|University of Debrecen; Faculty of Informatics; v. 03/01/2019|