#include <iostream> using namespace std; int main() { int long n,h; scanf("%ld%ld",&n,&h); h=(1+n)*n; printf("%ld",h/2); return 0; }