#include <iostream>
int roundtrip(int x)
{
return int(float(x));
}
int main()
{
int a = 2147483583;
int b = 2147483584;
std::cout << a << " -> " << roundtrip(a) << '\n';
std::cout << b << " -> " << roundtrip(b) << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IHJvdW5kdHJpcChpbnQgeCkKewogICAgcmV0dXJuIGludChmbG9hdCh4KSk7Cn0KCmludCBtYWluKCkKewogICAgaW50IGEgPSAyMTQ3NDgzNTgzOwogICAgaW50IGIgPSAyMTQ3NDgzNTg0OwogICAgc3RkOjpjb3V0IDw8IGEgPDwgIiAtPiAiIDw8IHJvdW5kdHJpcChhKSA8PCAnXG4nOwogICAgc3RkOjpjb3V0IDw8IGIgPDwgIiAtPiAiIDw8IHJvdW5kdHJpcChiKSA8PCAnXG4nOwp9Cg==