N = int(input()) ans = 0 for up in range(N): down = N - up ans = max(ans, (up + 1) * (down + 1) - 1) print(ans)