#include <iostream>
using namespace std;
int main() {
// your code goes here
int i=2;
int &ref_i=i;
int &ref_ref_i=ref_i; // should be an error according to c++ 2003 standard
cout<<i<<endl<<ref_i<<endl<<ref_ref_i;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglpbnQgaT0yOwoJaW50ICZyZWZfaT1pOwoJaW50ICZyZWZfcmVmX2k9cmVmX2k7IC8vIHNob3VsZCBiZSBhbiBlcnJvciBhY2NvcmRpbmcgdG8gYysrIDIwMDMgc3RhbmRhcmQKCQoJY291dDw8aTw8ZW5kbDw8cmVmX2k8PGVuZGw8PHJlZl9yZWZfaTsgIAoJcmV0dXJuIDA7Cn0=