#include <iostream>
#include <bitset>
int main() {
// your code goes here
int max = 2147483647;
int sum = max + max;
long long sum_l = (long long)max + max;
std::cout << max << " = " << std::bitset<64>(max) << std::endl;
std::cout << sum << " = " << std::bitset<64>(sum) << std::endl;
std::cout << sum_l << " = " << std::bitset<64>(sum_l) << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Yml0c2V0PgoKaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglpbnQgbWF4ID0gMjE0NzQ4MzY0NzsKCWludCBzdW0gPSBtYXggKyBtYXg7Cglsb25nIGxvbmcgc3VtX2wgPSAobG9uZyBsb25nKW1heCArIG1heDsKCQoJc3RkOjpjb3V0IDw8IG1heCA8PCAiID0gIiA8PCBzdGQ6OmJpdHNldDw2ND4obWF4KSA8PCBzdGQ6OmVuZGw7CglzdGQ6OmNvdXQgPDwgc3VtIDw8ICIgPSAiIDw8IHN0ZDo6Yml0c2V0PDY0PihzdW0pIDw8IHN0ZDo6ZW5kbDsKCXN0ZDo6Y291dCA8PCBzdW1fbCA8PCAiID0gIiA8PCBzdGQ6OmJpdHNldDw2ND4oc3VtX2wpIDw8IHN0ZDo6ZW5kbDsKCQoJcmV0dXJuIDA7Cn0=