#include <stdio.h> int main() { int a,b,c; while(scanf("%d %d %d",&a,&b,&c)!=EOF) { if(a < b) {a+=b;b=a-b;a-=b;} if(a < c) {a+=c;c=a-c;a-=c;} printf("%d\n",a); } return 0; }