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