#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) {
// Your code here
Register store;
store.value = input;
store.bytes[0] = (uint8_t)input;
store.bytes[1] = (uint8_t)(input>>8);
store.bytes[2] = (uint8_t)(input>>16);
store.bytes[3] = (uint8_t)(input>>24);
for (int i = 0; i < 4; i++){
printf("%d ", store.bytes[i]);
}
return;
}
int main() {
uint32_t num;
scanf("%u", &num);
print_bytes(num);
return 0;
}