#include using namespace std; int main(){ int N,M; cin>>N>>M; int ans=0; for(int i=0;i>st; int rate; cin>>rate; bool ok=true; for(int j=0;j<4;j++){ if(st[j]!='o')ok=false; } if(!ok&&rate>=1200)ans++; } cout<