The new principal of Woop Woop High is not satisfied with her pupils' performance. She has introduced a new roll-call process to obtain a daily measure of the pupils' learning, which proceeds as follows: At the beginning of each day, every pupil is handed a question, which they must attempt to answer before proceeding to their classes. A pupil stops as soon as the question is answered correctly. Each pupil is allowed up to five attempts to answer correctly. Pupils who answer correctly on the first attempt are marked present. Pupils who answer correctly after several attempts are encouraged to work at home. Pupils who fail to answer correctly within five attempts are assigned remedial classes after school. Pupils who do not provide any answer are marked absent. Your task is to write a program that reads the pupils' assessments and generates performance reports for the principal to take appropriate action.
The input starts with an integer (1 \leq K \leq 100) indicating the number of classes. Each class starts with an integer (1 \leq N \leq 50) indicating the number of pupils in the class. Each of the following lines starts with a pupil's name followed by up to five assessments of their answers. An assessment of yes or y indicates a correct answer; an assessment of n or no indicates a wrong answer. A pupil's name is a single string without white spaces.
For each class, the attendance report consists of five lines.
The first line: "Roll-call: ", where is the class number starting from one.
The second line: "Present: Y_1 out of ", where Y_1 is the number of pupils who gave a correct answer on the first attempt.
The third line: "Needs to study at home: Y_2 out of ", where Y_2 is the number of pupils who submitted some wrong answers before submitting a correct answer.
The fourth line: "Needs remedial work after school: Y_3 out of ", where Y_3 is the number of pupils who submitted five wrong answers.
The fifth line: "Absent: Y_4 out of ", where Y_4 is the number of pupils who did not answer at all.
Example 1