#include <stdio.h>
#include <stdint.h>
int main()
{
uint64_t a = 0x8877665544332211;
uint32_t b = (uint32_t)a;
int i = 1;
if (*((char *)&i
) == 1) puts("little endian"); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRpbnQuaD4KCmludCBtYWluKCkKewogICAgdWludDY0X3QgYSA9IDB4ODg3NzY2NTU0NDMzMjIxMTsKICAgIHVpbnQzMl90IGIgPSAodWludDMyX3QpYTsKICAgIHByaW50ZigiJXhcbiIsIGIpOwogICAgaW50IGkgPSAxOwogICAgaWYgKCooKGNoYXIgKikmaSkgPT0gMSkgcHV0cygibGl0dGxlIGVuZGlhbiIpOwogICAgZWxzZSBwdXRzKCJiaWcgZW5kaWFuIik7CiAgICByZXR1cm4gMDsKfQo=