#include int main(void){ int ha, hb, hc; scanf("%d %d %d", &ha, &hb, &hc); if(ha>hb){ if(hb>hc){ printf("%d\n%d\n%d\n", ha, hb, hc); } else if(ha>hc){ printf("%d\n%d\n%d\n", ha, hc, hb); } else{ printf("%d\n%d\n%d\n", hc, ha, hb); } }else{ if(ha>hc){ printf("%d\n%d\n%d\n", hb, ha, hb); } else if(hb>hc){ printf("%d\n%d\n%d\n", hb, hc, ha); } else{ printf("%d\n%d\n%d\n", hc, hb, ha); } } return 0; }