#include <iostream>
void foo(void);
void foo() {
int a = 1;
const int x = a;
const int &b = x;
a = 2;
std::cout<<b<<"\n";
std::cout<<((a!=b)?a:b);
std::cout<<"\n"<<sizeof(a)<<","<<sizeof(b)<<","<<sizeof(x)<<":"<<sizeof(const int*)<<"::"<<sizeof(const int&);
}
int main(void);
int main() {
foo();
return 0;
}
CiNpbmNsdWRlIDxpb3N0cmVhbT4KCnZvaWQgZm9vKHZvaWQpOwp2b2lkIGZvbygpIHsKICAgIGludCBhID0gMTsKICAgIGNvbnN0IGludCB4ID0gYTsKICAgIGNvbnN0IGludCAmYiA9IHg7CiAgICBhID0gMjsKICAgIHN0ZDo6Y291dDw8Yjw8IlxuIjsKICAgIHN0ZDo6Y291dDw8KChhIT1iKT9hOmIpOwogICAgc3RkOjpjb3V0PDwiXG4iPDxzaXplb2YoYSk8PCIsIjw8c2l6ZW9mKGIpPDwiLCI8PHNpemVvZih4KTw8IjoiPDxzaXplb2YoY29uc3QgaW50Kik8PCI6OiI8PHNpemVvZihjb25zdCBpbnQmKTsKfQogCgppbnQgbWFpbih2b2lkKTsKaW50IG1haW4oKSB7Cglmb28oKTsKCXJldHVybiAwOwp9