#K77222. Participant Registration Number Generator
Participant Registration Number Generator
Participant Registration Number Generator
In this problem, you are given an integer and a list of names in the format "First Last". Your task is to generate unique registration numbers for each participant. Each registration number consists of the uppercase initials of the first name and last name, followed by a three-digit number that indicates the participant's index (starting from 1). For example, if the participant is "John Doe" and he is the first participant, his registration number will be . Make sure to format the number with leading zeros to ensure it is exactly three digits.
inputFormat
The input is read from standard input (stdin).
On the first line, an integer is given, representing the number of participants. Each of the following lines contains a participant's name in the format "First Last".
outputFormat
Output to standard output (stdout) a single line containing registration numbers separated by a space. Each registration number should be in the format FL###, where and are the uppercase initials of the first and last names respectively, and ### is the participant's index padded to three digits.## sample
1
John Doe
JD001