#include using namespace std; int main(){ int n; cin>>n; n=n*(n+1)/2; cout<