#include <stdio.h>
void add(int *x,int *y)
{
    int *temp;
    *temp = *x;
    *x = *y;
    *y = *temp;
    printf("\n After Swap: %d %d",*x,*y);
}
int main() {
int a,b;
scanf("%d %d",&a,&b);
printf("Before Swap: %d %d",*a,*b);
add(&a,&b);
return 0;
}