#include void main(){ int a,b,c,t; scanf ("%d,%d,%d\n",a,b,c);//这里错了应该这样scanf ("%d,%d,%d\n",&a,&b,&c); {if(a>b)t=a; else t=b; } {if (t>c) printf("%d\n",t); else printf("%d\n",c); } }