#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
long int x,y,z,res;
printf("Enter the values of x,y and z ::");
scanf("%d%d%d",&x,&y,&z;
res=(x*x*x)+(y*y*y)+(3*x*y*z);
printf("The answer is %d",res);
getch();
}