#include using namespace std; using ll = long long; #define fi first #define se second #define all(a) a.begin(),a.end() int main(){ int a; cin >> a; cout << 2*a-1 << endl; return 0; }