#include <stdio.h>
void sort(int *x,int *y);
void swap(int *x,int*y);
int main(void) {
int x,y;
sort(&x,&y);
return 0;
}
void sort(int *x,int *y){
if(*x<*y){
swap(x,y);
}
}
void swap(int *x,int*y){
int temp=*x;
*x=*y;
*y=temp;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CnZvaWQgc29ydChpbnQgKngsaW50ICp5KTsKdm9pZCBzd2FwKGludCAqeCxpbnQqeSk7CmludCBtYWluKHZvaWQpIHsKaW50IHgseTsKc2NhbmYoIiVkIiwmeCk7IHNjYW5mKCIlZCIsJnkpOwpzb3J0KCZ4LCZ5KTsKCnByaW50ZigiJWQsJWQiLHgseSk7CglyZXR1cm4gMDsKfQoKdm9pZCBzb3J0KGludCAqeCxpbnQgKnkpewoJaWYoKng8KnkpewoJCXN3YXAoeCx5KTsKCX0KfQp2b2lkIHN3YXAoaW50ICp4LGludCp5KXsKaW50IHRlbXA9Kng7CiAgICAqeD0qeTsKICAgICp5PXRlbXA7CiAgICAKfQ==