#import <Foundation/Foundation.h>
union mixed {int i; float f; char c;};
int main() {
union mixed x;
x.i = 5;
NSLog(@"%d", x.i);
x.f = 2.5;
NSLog(@"%f", x.f);
x.c = 'A';
NSLog(@"%c", x.c);
return 0;
}
ICNpbXBvcnQgPEZvdW5kYXRpb24vRm91bmRhdGlvbi5oPgogICAgICAgIAogICAgICAgIHVuaW9uIG1peGVkIHtpbnQgaTsgZmxvYXQgZjsgY2hhciBjO307CiAgICAgICAgCiAgICAgICAgaW50IG1haW4oKSB7CiAgICAgICAgICAgIAogICAgICAgICAgICB1bmlvbiBtaXhlZCB4OwogICAgICAgICAgICB4LmkgPSA1OwogICAgICAgICAgICBOU0xvZyhAIiVkIiwgeC5pKTsKICAgICAgICAgICAgeC5mID0gMi41OwogICAgICAgICAgICBOU0xvZyhAIiVmIiwgeC5mKTsKICAgICAgICAgICAgeC5jID0gJ0EnOwogICAgICAgICAgICBOU0xvZyhAIiVjIiwgeC5jKTsKICAgICAgICAgICAgCiAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgIH0=