#include int main () { long long a = 0LL; int res = 0; res = scanf("%lld", &a); printf("%lld\n", 2LL*a-1LL); return 0; }