#include <stdio.h>
int main(void)
{
int i, j;
int i1;
int n, n1;
int ch[8];
int ch1[8];
printf("first array\n");
for(i=0; i<8; i++)
{
scanf(" %d", &n);
ch[i]=n;
}
printf("\n");
printf("second array\n");
for(j=0; j<8; j++)
{
scanf(" %d", &n1);
ch1[j]=n1;
}
for(i1=0; i1<8; i1++)
{
if(i1%4==0)
printf("\n");
printf("%d ", ch[i1]*ch1[i1]);
}
return 0;
}
int main(void)
{
int i, j;
int i1;
int n, n1;
int ch[8];
int ch1[8];
printf("first array\n");
for(i=0; i<8; i++)
{
scanf(" %d", &n);
ch[i]=n;
}
printf("\n");
printf("second array\n");
for(j=0; j<8; j++)
{
scanf(" %d", &n1);
ch1[j]=n1;
}
for(i1=0; i1<8; i1++)
{
if(i1%4==0)
printf("\n");
printf("%d ", ch[i1]*ch1[i1]);
}
return 0;
}