int square_sum(int n)
{
return (n*n);
}

int cube_sum(int n)
{
return (n*n*n);
}

int sum(int number,int type)
{
int summs;
if(type==0)
	summs=[square_sum(number)];
else if(type==1)
	summs=[cube_sum(number)];
return summs;
}

void main(void)
{
int num;
num=[sum(3,1)];
}