#include <stdio.h>
void swap(int *p1, int *p2) {
// put p1's value into tmp var
int tmp = *p1;
// put p2's value in p1's address
*p1 = *p2;
// put tmp's value in p2's address
*p2 = tmp;
}
int main() {
int a, b;
scanf("%d %d", &a, &b);
swap(&a, &b);
printf("a = %d ", a);
printf("b = %d", b);
return 0;
}