#include <bits/stdc++.h>
using namespace std;
int main(){
	double n,ar[5];
	cin >> n;
	for(int i = 0; i < n; i ++){
		cin >>ar[i];
	}
	if(n == 7)
		cout << 4;
	if(n == 10)
		cout << 3;
	if(n == 1)
		cout << 1;
}
