https://www.acmicpc.net/problem/2921
규칙을 찾아내면 구현하는거 자체는 어렵지 않다!
n = int(input()) print((n * (n + 1) * (n + 2)) // 2)