Repeat after me
It’s hard to concentrate on repetitive things. So, you decide to automate that process as much as possible.
You want to write a program that would repeat phrases told by your friend who wants to teach you a lesson.
You know that there will be
nphrases. And after that, you need to repeat all those phrases. Write a program that would repeat the inputted phrases and print them in the output.
But you want to prank your friend as well. So, instead of the last sentence, you always tell:
I'LL WATCH YOUTUBE AND MEMES.
The first line of the input contains a single integer
n(2 ≤ n ≤ 100). The following
nlines contain the phrases your friend wants to teach you.
The program should print all the phrases and the prank in the end.
4 I WILL DO MY WORK I WILL DO MY WORK
I WILL DO MY WORK I'LL WATCH YOUTUBE AND MEMES
Time limit: 1 seconds
Memory limit: 512 MB
Output limit: 1 MB