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