#include int max(int x,int y,int z){ int c; if(x>y && x>z){ c=x; }else if(y>x && y>z){ c=y; }else{ c=z; } return c; } int min(int x,int y,int z){ int c; if(xx>z || z>x>y){ c=x; }else if(x>y>z || z>x>y){ c=y; }else{ c=z; } return c; } int main(void){ int A,B,C; scanf("%d",&A); scanf("%d",&B); scanf("%d",&C); printf("%d\n",max(A,B,C)); printf("%d\n",hal(A,B,C)); printf("%d\n",min(A,B,C)); return 0; }