#include <stdio.h>
void swap(int x, int*y);
int main(void) {
// your code goes here
int a=1;
int b=2;
swap(a,&b);
return 0;
}
void swap(int x,int *y){
int n;
n=x;
x=*y;
*y=n;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHN3YXAoaW50IHgsIGludCp5KTsKCmludCBtYWluKHZvaWQpIHsKCS8vIHlvdXIgY29kZSBnb2VzIGhlcmUKCWludCBhPTE7CglpbnQgYj0yOwoJc3dhcChhLCZiKTsKCXByaW50ZigiYT0lZCxiPSVkIixhLGIpOwoJcmV0dXJuIDA7Cn0Kdm9pZCBzd2FwKGludCB4LGludCAqeSl7CglpbnQgbjsKCW49eDsKCXg9Knk7CgkqeT1uOwp9Cg==