#include <iostream>
using namespace std;
int main() {
long long int a = 5;
long long int &ref = a;
printf("%d = a\n", sizeof(a));
printf("%d = ref\n", sizeof(ref));
printf("%d = &ref\n", sizeof(&ref));
printf("%p = &a\n", &a);
printf("%p = &ref\n", &ref);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgoKCWxvbmcgbG9uZyBpbnQgYSA9IDU7Cglsb25nIGxvbmcgaW50ICZyZWYgPSBhOwoKCXByaW50ZigiJWQgPSBhXG4iLCAgc2l6ZW9mKGEpKTsKCXByaW50ZigiJWQgPSByZWZcbiIsICBzaXplb2YocmVmKSk7CglwcmludGYoIiVkID0gJnJlZlxuIiwgIHNpemVvZigmcmVmKSk7CgkKCXByaW50ZigiJXAgPSAmYVxuIiwgICZhKTsKCXByaW50ZigiJXAgPSAmcmVmXG4iLCAgJnJlZik7CgoJcmV0dXJuIDA7Cn0=