#include <stdio.h>
int func(int x,int y){
	return (x>y)?x:y;
}
int main(void) {
	// your code goes here
	int x=3,y=8,z=5;
	printf("%d",func(func(x,y),func(y,z)));
	return 0;
}
