// examples with pointers
#include <bits/stdc++.h>
using namespace std;

struct Node
{
	int x;
	int y;
	Node* left;
	Node* right;
};

int main ()
{
	int x;
	int* y = &x;
	int** z = &y;
//	z = &(&(x)); // error
	cin >> x;
	cout << y << endl;
	cout << *y << endl;
	cout << z << endl;
	cout << *z << endl;
	cout << **z << endl;
	cout << sizeof z << endl;
	return 0;
}
