#C7099. Append Asterisk to Usernames
Append Asterisk to Usernames
Append Asterisk to Usernames
In this problem, you are given a single line string containing several usernames separated by spaces. Each username begins with an alphabet character followed by one or more digits. Your task is to append an asterisk (( * )) to the end of each username and output the modified usernames as a single line. For example, if the input is a123 b456 C789
, the expected output is a123* b456* C789*
.
inputFormat
The input consists of a single line containing space-separated usernames. Each username starts with an alphabetical character followed by digits.
outputFormat
Output a single line in which each username from the input is appended with an asterisk (( * )).## sample
a123
a123*