#include <stdio.h>
void sort (int *x,int *y);
void swap (int *a,int *b);
int main(void) {
int x=1,y=9;
sort(&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+Cgp2b2lkIHNvcnQgKGludCAqeCxpbnQgKnkpOwp2b2lkIHN3YXAgKGludCAqYSxpbnQgKmIpOwppbnQgbWFpbih2b2lkKSB7CglpbnQgeD0xLHk9OTsKCXNvcnQoJngsJnkpOwoJcHJpbnRmKCIlZCwlZFxuIix4LHkpOwoJcmV0dXJuIDA7Cn0Kdm9pZCBzb3J0KGludCAqeCxpbnQgKnkgKXsKCWlmKCp4PCp5KXsKCQlzd2FwKHgseSk7CgkJCgkJCgl9CgkKfQoKIHZvaWQgc3dhcChpbnQgKmEsaW50ICpiKXsKIAlpbnQgdzsKIAl3PSphOwogCSphPSpiOwogCSpiPXc7CiB9