#include using namespace std; int main() { int a; cin >> a; cout << 2 * a - 1 << endl; return 0; }