#include using namespace std; typedef int64_t ll; int main(){ int n; cin>>n; cout<<2*n-1<