#include<iostream> using namespace std; int b,d,x; int main(){ cin>>b; d=b+1; x=b-1; cout<<d+x; return 0; }