#Z17102. 甲流病人初筛
甲流病人初筛
Description
Currently, it is the peak season for influenza A (H1N1). To better triage patients for treatment, the hospital requires checking each patient's temperature and cough status during registration. Patients with a temperature of 37.5 degrees or higher (including exactly 37.5 degrees) and who are coughing are preliminarily identified as suspected influenza A cases (initial screening). The task is to count how many patients visiting the hospital for registration on a given day are initially screened as suspected influenza A cases.
Input Format
The first line contains the number of patients visiting for registration that day, denoted as n (where n < 200).
This is followed by n lines, each containing the patient's information: name (a string without spaces, up to 8 characters), temperature (a float), and whether they are coughing (an integer, where 1 means coughing and 0 means not coughing). The three pieces of information on each line are separated by a single space.
Output Format
Output the names of all patients screened as suspected influenza A cases in the order they were input, with each name on a separate line. After listing all such patients, output an additional line indicating the total number of patients screened as suspected influenza A cases.
```input1 5 Zhang 38.3 0 Li 37.5 1 Wang 37.1 1 Zhao 39.0 1 Liu 38.2 1 ``` ```output1 Li Zhao Liu 3 ``` ```markdown ## SourceCodesOnline
The translation maintains the original markdown heading format (`##`) and the code block structure. The content "CodesOnline" is kept as-is since it appears to be a proper name or brand term that typically does not require translation. The output is a clean 1:1 representation of the source in English.