#include<stdio.h>
union u
{
int var;
unsigned char str[4];
};
int main()
{
unsigned char tmp;
union u uObj;uObj.var = 3;
tmp = uObj.str[1];
uObj.str[1] = uObj.str[0];
uObj.str[0] = tmp;
return 0;
}
CiNpbmNsdWRlPHN0ZGlvLmg+CnVuaW9uIHUKewogICBpbnQgdmFyOwogICB1bnNpZ25lZCBjaGFyIHN0cls0XTsKfTsKaW50IG1haW4oKQp7CiAgIHVuc2lnbmVkIGNoYXIgdG1wOwogICB1bmlvbiB1IHVPYmo7dU9iai52YXIgPSAzOwogICB0bXAgPSB1T2JqLnN0clsxXTsKICAgdU9iai5zdHJbMV0gPSB1T2JqLnN0clswXTsKICAgdU9iai5zdHJbMF0gPSB0bXA7CiAgIHByaW50ZigiJWQiLCB1T2JqLnZhcik7CiAgIHJldHVybiAwOwp9Cg==