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