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