#include <stdio.h>

int main() {

    int n;
    scanf("%d", &n);
    int ret = n * (n + 1) * (n + 2) / 6;
    printf("%d\n", ret);

    return 0;
}