int ave(a,b)
	int a,b;
{
	return ((a+b)/2); 
}
main()
{
	int x,y,s,s1;
	x = 6;
	y = 20;
	s = ave (x,y);
	printf("Average of %d and %d is %d\n",x,y,s); 
	s1 = ave (x,s);
        printf("Average of %d and %d is %d\n",x,s,s1); 
}
