#include <stdio.h>
void sort(int *x,int *y);
void swap(int *a,int *b);
int main() {
int x,y;
scanf("%d",&x);
scanf("%d",&y);
sort(&x,&y);
printf("%d,%d\n",x,y);
return 0;
}
void sort(int *x,int *y){
if(*x<*y){
swap(x,y);
}
}
void swap(int *a,int *b){
int w;
w=*a;
*a=*b;
*b=w;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHNvcnQoaW50ICp4LGludCAqeSk7CnZvaWQgc3dhcChpbnQgKmEsaW50ICpiKTsKCmludCBtYWluKCkgewoJaW50IHgseTsKCXNjYW5mKCIlZCIsJngpOwoJc2NhbmYoIiVkIiwmeSk7Cglzb3J0KCZ4LCZ5KTsKCXByaW50ZigiJWQsJWRcbiIseCx5KTsKCXJldHVybiAwOwp9Cgp2b2lkIHNvcnQoaW50ICp4LGludCAqeSl7CglpZigqeDwqeSl7CgkJc3dhcCh4LHkpOwogICB9Cn0KCnZvaWQgc3dhcChpbnQgKmEsaW50ICpiKXsKCWludCB3OwoJdz0qYTsKCSphPSpiOwoJKmI9dzsKfQo=