Online Judge

Paul has recently created an online judge, PNOJ. He has noticed that people are saying things in the general channel that have the abreviation PNOJ. He wishes to know how many :angry: emojis he needs to send.

Input Specification

The first line contains an integer N (1<=N<=10^5), the number of test cases. The next N lines will contain a string.

Output Specification

Output the number of strings inputted with the abbreviation pnoj (ignoring case).

Sample Input

peanut butter online jelly
paul programs python programs
Perfectly normal Online judge
paul loves computer programming
paul's no-risk online judge

Sample Output

  • There are no comments.