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 n phrases. 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.
notion image
The first line of the input contains a single integer n (2 ≤ n ≤ 100). The following n lines contain the phrases your friend wants to teach you.
The program should print all the phrases and the prank in the end.
Input
Output
4 I WILL DO MY WORK I WILL DO MY WORK
I WILL DO MY WORK I'LL WATCH YOUTUBE AND MEMES
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue