#include <stdio.h>

typedef union {
int i; struct { short a, b };
} yoba;

int main() {
	yoba x;
	x.i = 0xDEADBEEF;
	printf("%x %x", x.a, x.b);
	return 0;
}