#include <stdio.h>
#include <stdint.h>
typedef union {
uint32_t value;
uint8_t bytes[4];
} Register;
// Write logic here to extract bytes using union
void print_bytes(uint32_t input) {
//1. create a union instance
Register reg;
//2. Assign the 32 bit input to the 32 bit value of the union
reg.value = input;
//3. We can now read the input as bytes by accessing the byte format from the union
for (int i=0;i<4;i++){
printf("%d ",reg.bytes[i]);
}
}
int main() {
uint32_t num;
scanf("%u", &num);
print_bytes(num);
return 0;
}