#include <iostream>
using namespace std;
int main() {
int a = 0x80000000;
int b = a + 0x7f;
int c = a + 0x80;
int d = 0xffffff80;
int e = a + d;
printf("%x\t%d\n%x\t%d\n%x\t%d\n%x\t%d\n%x\t%d\n",
a,a,
b,b,
c,c,
d,d,
e,e);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgYSA9IDB4ODAwMDAwMDA7CglpbnQgYiA9IGEgKyAweDdmOwoJaW50IGMgPSBhICsgMHg4MDsKCWludCBkID0gMHhmZmZmZmY4MDsKCWludCBlID0gYSArIGQ7CglwcmludGYoIiV4XHQlZFxuJXhcdCVkXG4leFx0JWRcbiV4XHQlZFxuJXhcdCVkXG4iLAoJCWEsYSwgCgkJYixiLAoJCWMsYywKCQlkLGQsCgkJZSxlKTsKCXJldHVybiAwOwp9