Graderpractice for programmers

Back to 254271 Fun of Prog 63 - Review 2

B. Custom repeater

Problem

Write a program that reads in 1 line of input and if it contains less than 8 characters then it repeats it 3 times, else only 2 times.

Examples

Input

tiger

Output

tiger tiger tiger

Input

elephant

Output

elephant elephant

Submit your solution

java