#include<iostream> using namespace std; int main(){ int dz,g; cin>>dz; g=dz*2+1; cout<<g; return 0; }