#include using namespace std; int main(){ int A; cin >> A; cout << A * 2 - 1 << "\n"; }