#include <stdio.h>
void scanfall(int *x, int *y, int *z){
scanf("%d %d %d", x
, y
, z
); }
void ascend(int *x, int *y, int *z){
if(*x>*y)
swap(x,y);
if(*x>*z)
swap(x,z);
if(*y>*z)
swap(y,z);
}
void swap(int *x, int *y){
int w=*x;
*x=*y;
*y=w;
}
int main(void) {
int a, b, c;
scanfall(&a, &b, &c);
ascend(&a,&b,&c);
printf("a=%d, b=%d, c=%d\n",a
, b
, c
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHNjYW5mYWxsKGludCAqeCwgaW50ICp5LCBpbnQgKnopewoJc2NhbmYoIiVkICVkICVkIiwgeCwgeSwgeik7Cn0KCnZvaWQgYXNjZW5kKGludCAqeCwgaW50ICp5LCBpbnQgKnopewoJaWYoKng+KnkpCgkJc3dhcCh4LHkpOwoJaWYoKng+KnopCgkJc3dhcCh4LHopOwoJaWYoKnk+KnopCgkJc3dhcCh5LHopOwp9Cgp2b2lkIHN3YXAoaW50ICp4LCBpbnQgKnkpewoJaW50IHc9Kng7CgkqeD0qeTsKCSp5PXc7Cn0KCmludCBtYWluKHZvaWQpIHsKCWludCBhLCBiLCBjOwoJc2NhbmZhbGwoJmEsICZiLCAmYyk7Cglhc2NlbmQoJmEsJmIsJmMpOwoJcHJpbnRmKCJhPSVkLCBiPSVkLCBjPSVkXG4iLGEsIGIsIGMpOwoJCglyZXR1cm4gMDsKfQo=