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