#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",max(A,B,C)); printf("%d",hal(A,B,C)); printf("%d",min(A,B,C)); return 0; }