n = int(input()) a = n//2 b = n-a print((a+1)*(b+1)-1)