def main(): n = int(input()) ans = (n + 2) * (n + 1) // 2 print(ans) if __name__ == "__main__": main()