#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b,c,d;
	cin>>a;
	cin>>b
	for(int i=1;i<a;i++){
		cin>>c;
	}
	cout<<b+3;
	return 0;
}