
Input: 'S' = ‘alicia’
Output: alicia
alicia
alicia
alicia
alicia
The first line will contain the integer 'T', the number of test cases.
For each test case, there will be only one line containing a string ‘S’.
For each test case, print the ‘name’ five times, each on a new line.
You don't need to print anything. It has already been taken care of. Just implement the given function.
1 <= 'T' <= 10
1 <= 'S.Length' <= 10^4
Time Limit: 1 sec
Approach:
Create a variable ‘COUNT’ to store the coun’ of iteration and end the loop when the ‘COUNT’ reaches 5.
Algorithm :