Re的故事之Re封神

Time Limit: 1000 ms Memory Limit: 65536 KiB

Problem Description

Re大神,也就是flyfire本次比赛的出题人之一,大家都知道Re就是Runtime error的意思,由于数组越界,在主函数内申请过大内存,指针访问了不可访问的地址,用零做了除数等一系列原因引起的;那么我们的Re大神是怎么来的呢;

Input

 多组输入,对于每组输入,先输入一个整数n(1<=n<=100)表示共有几个返回结果;接下来n行,每行输入一个ID以及一个状态Status
”flyfire“和“zengxiangshuo"等同

Output

 输出Re大神共提交了几个Re

Sample Input

10
winddreams accepted
flyfire accepted
flyfire wrong_answer
soaring time_limit_error
flyfire runtime_error
soaring accepted
soaring runtime_error
flyfire runtime_error
winddreams runtime_error
flyfire accepted

Sample Output

2

Hint

 

Source

flyfire