#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 R;
R.value =input;
printf("%d %d %d %d",R.bytes[0],R.bytes[1],R.bytes[2],R.bytes[3]);
}
int main() {
uint32_t num;
scanf("%u", &num);
print_bytes(num);
return 0;
}