A = int(input()) print(A*2-1)