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