#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;
}