#C10724. Format People Information
Format People Information
Format People Information
You are given a list of people with their names and ages. Your task is to format each person's information into a specific string.
For each person, output a line in the format:
\( \texttt{Name is Age years old} \)
where Name
is the person's name and Age
is their age.
If there are no people, output nothing.
inputFormat
The first line of input contains a single integer \( n \) (\(0 \le n \le 10^5\)), representing the number of people.
The following \( n \) lines each contain a person's name and age separated by a space.
For example:
3 Alice 30 Bob 25 Carol 40
outputFormat
For each person, output a single line in the format:
Name is Age years old
The output should preserve the order of input. If \( n = 0 \), output nothing.
## sample1
Alice 30
Alice is 30 years old