Saturday, June 25, 2016

SOLUTION OF URI 2006


//    Solution of  2006 Identifying Tea
//   (Mahmud_Jamil) BRUR






#include <stdio.h>
int main()
{
    int n, m , i, cnt=0;
    scanf("%d", &n);
    for(i=0; i<5; i++)
    {
        scanf("%d", &m);
        if(m==n) cnt++;
    }
    printf("%d\n", cnt);
    return 0;
}