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