#include<stdio.h>
#include<conio.h>

void main()
{
long int num[10],i,a,sum=0;

printf("enter the number of terms::");
scanf("%ld",&a);