int a, b;
int* p;
/* 入力 */
p = (int*) a;
a = b;
b = (int) p;