#include <iostream>
using namespace std;
int main() {
// your code goes here
int a = 5;
int b = 9;
int c = 6;
int *p = &a;
cout << p << endl;
int **n = &p;
*n = &b;
cout << p << endl;
p = &c;
cout << p << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglpbnQgYSA9IDU7CglpbnQgYiA9IDk7CglpbnQgYyA9IDY7CglpbnQgKnAgPSAmYTsKICAgIGNvdXQgPDwgcCA8PCBlbmRsOwogICAgaW50ICoqbiA9ICZwOwogICAgKm4gPSAmYjsKICAgIGNvdXQgPDwgcCA8PCBlbmRsOwogICAgcCA9ICZjOwogICAgY291dCA8PCBwIDw8IGVuZGw7CglyZXR1cm4gMDsKfQ==