#include<stdio.h>
int main(){
int i=2,s=0,n;
printf("Enter the value of the last series:");
scanf("%d %d",&n);
for(i=2;i<=n;i=i+2)
{
s=s+i;
}
printf("%d",s);
return 0;
}
