#B4197. Contest Card Printer
Contest Card Printer
Contest Card Printer
Welcome to the $2020$ Changzhou "Programming Prodigy" Contest! Little $X$ would like to present you with a congratulatory card. However, you need to print it yourself.
The card consists of three lines. The second line must be in the format:
*Welcome,ContestantNo.A!*
where A is the contestant's number. The first and third lines are identical and consist of '*' characters. Their length is exactly the same as the number of characters in the second line. Use the sample cases to understand the pattern.
inputFormat
The input contains a single token A
, which is the contestant's number. It is given as a string without spaces.
outputFormat
Print three lines. The second line should be *Welcome,ContestantNo.A!*
(with A
replaced by the input). The first and third lines should each consist solely of '*' characters, and their count must equal the number of characters in the second line.
sample
7
*************************
Welcome,ContestantNo.7!
*************************
</p>