#include<bits/stdc++.h>
using namespace std;
int main()
{
  int n;
cin>>n;
  int c0=0,c1=0,c2=0,c3=0;
  for(int i=0;i<n;i++)
  {
   int s;
    cin>>s;
    if(s=='AC')
      c0++;
    else if(s=='WA')
      c1++;
    else if(s=='TLE')
      C2++;
    else if(s=='RE')
      c3++;
  }
  return 0;
}
