#include <iostream>

int main( ) {
   int x = 0;
   int& y = x;
   int& z = y;
   
   z = 2;
   std::cout << x;
}
