410066: GYM103937 A Jeopardy!
Description
Girls Who Code College Loops is a chapter of the national Girls Who Code organization. We aim to provide all students the opportunity to learn skills that they may not get the chance to elsewhere. We aim to bring together people into a community in order to learn topics like game development, web development, programming languages, interview techniques, and more! Learn more about GWC
This... is... Jeopardy! GWC is hosting a Jeopardy night (as of the time this is being written), and they've been working tirelessly to prepare a set of clues and answers.
Each clue has a corresponding point value of 100, 200, 300, 400, or 500. To improve your chances, you would like to know: how many clues are worth each point value?
InputThe first line contains a single integer $$$N$$$ ($$$1 \le N \le 100$$$), representing the total number of clues that follow.
$$$N$$$ lines follow, each representing one clue. Each line consists of one number, the point value of the question, followed by the text of the question. It is guaranteed that the total length of the clues will be less than $$$10^5$$$ characters.
OutputOutput 5 numbers on one line, separated by spaces: the number of questions worth 100, 200, 300, 400, and 500 points, respectively.
ExamplesInput3 400 This was UT Austin's first female graduate and first female faculty member. (Jessie Andrews) 200 This first female engineering professor at UT was also the first female electrical engineering professor in the country. (Edith Clarke) 400 This golf player was also the first female student to receive an athletic scholarship at UT. (Nancy Hale)Output
0 1 0 2 0Input
2 100 This famous building in New York has its very own zipcode, 10118. (Empire State Building) 400 This war in August of 1896 is the shortest recorded war in history, lasting just around 40 minutes. (Anglo-Zanzibar War)Output
1 0 0 1 0