#include <stdio.h>
void sort(int *x,int *y);
void swap(int *x,int *y);
int main(void) {
int x=1;
int y=2;
sort(&x,&y);
}
void sort(int *x,int *y){
if(*x<*y){
swap(&x,&y);
}
}
void swap(int *x,int *y){
int w=0;
w=*y;
*y=*x;
*x=w;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHNvcnQoaW50ICp4LGludCAqeSk7CnZvaWQgc3dhcChpbnQgKngsaW50ICp5KTsKCmludCBtYWluKHZvaWQpIHsKCQoJaW50IHg9MTsKCWludCB5PTI7Cglzb3J0KCZ4LCZ5KTsKCXByaW50ZigiJWRcbiVkXG4iLHgseSk7Cgp9Cgp2b2lkIHNvcnQoaW50ICp4LGludCAqeSl7CgkKCWlmKCp4PCp5KXsKCQlzd2FwKCZ4LCZ5KTsKCX0KCn0KCnZvaWQgc3dhcChpbnQgKngsaW50ICp5KXsKCWludCB3PTA7Cgl3PSp5OwoJKnk9Kng7CgkqeD13Owp9Cg==