#include <iostream>
#include <string>


using namespace std;



int main()


{
   

cout << "Hello World" << endl; 
   
   std::cout << "please enter  the num of total (true and false)\n";

    int n =0 ;
   cin >> n;
   

    string check [n] = {};
    int c;
    int x;
    for (int i = 0; i < n; i++)
    {
        std::cout << "please enter true of false \n";
        cin >> check[i];
    }
    for(int h=0; h<n; h++)

    if (check[h]=="false")
    {
        x++;
    }
    else if (check[h] =="true")
    {
        c++;
    }
    cout << " the num of tr is  " << c << " the num of fa is  " << x << endl;

return 0;


}

