BPC 1 J1 - Facial Recognition
View as PDFYou are a software engineer at Google, and you have been tasked with writing a program that recognizes faces.
You will be given  strings. Output how many of them are exactly 
face.
Constraints
Each string is at least  and at most 
 characters long.
Input Specification
The first line contains a single integer, .
The next  lines each contain a string of lowercase letters.
Output Specification
Output a single line containing an integer, the number of faces.
Sample Input
6
desk
person
face
thefiveboxingwizardsjumpquickly
facet
face
Sample Output
2
Comments