#include <stdio.h>

int main(void) {
	// your code goes here
	int a,b,max;
	scanf("%d,%d",&a,&b);
	if(a>b)max=a;
	if(a<=b)max=b;
	printf("max=%d\n",max);
	return 0;
}
