#include <stdio.h>

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