#C4469. T-Shirt Size Summary
T-Shirt Size Summary
T-Shirt Size Summary
Given the number of participants and their t-shirt size requests, your task is to compute the total request counts for each t-shirt size. The available sizes are \(\text{XS}\), \(\text{S}\), \(\text{M}\), \(\text{L}\), \(\text{XL}\), and \(\text{XXL}\). Read the input from standard input, summarize the counts for each size, and output the summary in the fixed order: XS, S, M, L, XL, XXL.
inputFormat
The input consists of two lines. The first line contains an integer \(n\) \((1 \leq n \leq 10^5)\), representing the number of participants. The second line contains \(n\) space-separated strings, each being one of the following t-shirt sizes: XS, S, M, L, XL, or XXL.
outputFormat
Output exactly 6 lines. Each line should display a t-shirt size followed by its count, formatted as "Size: count". The order must be: XS, S, M, L, XL, XXL.
## sample5
M XS S M L
XS: 1
S: 1
M: 2
L: 1
XL: 0
XXL: 0
</p>