#include <stdio.h>
#include <stdint.h>
typedef union {
float f;
uint8_t bytes[4];
} FloatPacket;
int main() {
float input;
FloatPacket hehe;
scanf("%f", &input);
hehe.f = input;
for(int i = 0; i < (sizeof(hehe.bytes)/sizeof(hehe.bytes[0])); i++)
{
printf("Byte %d: %d\n", i, hehe.bytes[i]);
}
// Fill union and print 4 bytes
return 0;
}