#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
uint8_t firstBit = (input >> 24) & 0xff;
uint8_t secondBit = ((input >> 16) & 0xff);
uint8_t thirdBit = ((input >> 8) & 0xff);
uint8_t fourthBit = ((input) & 0xff);
printf("%d %d %d %d", fourthBit, thirdBit, secondBit, firstBit);
}
int main() {
uint32_t num;
scanf("%u", &num);
print_bytes(num);
return 0;
}