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