int main()
{
int n = 0;
scanf("%d ",&n);
int sum = 0;
int i = 0;
for(i = 0;i<=n;i++)
{
sum+=i;
}
printf("%d",sum);
return 0;
}
int main() { int n = 0; scanf("%d ",&n); int sum = 0; int i = 0; for(i = 0" >
int main()
{
int n = 0;
scanf("%d ",&n);
int sum = 0;
int i = 0;
for(i = 0;i<=n;i++)
{
sum+=i;
}
printf("%d",sum);
return 0;
}