import sys input = sys.stdin.readline from collections import * A = int(input()) print(2*A-1)