#include <cstdio>
int f(int x, int *py, int **ppz)
{
int y, z;
**ppz += 1;
z = **ppz;
*py += 2;
y = *py;
x += 3;
return x + y + z;
}
int main()
{
int c, *b, **a;
c = 4;
b = &c;
a = &b;
printf( "%d\n", f(c,b,a));
printf( "%d\n", c);
}
I2luY2x1ZGUgPGNzdGRpbz4KCmludCBmKGludCB4LCBpbnQgKnB5LCBpbnQgKipwcHopCnsKICBpbnQgeSwgejsKICAqKnBweiArPSAxOyAKICAgeiAgPSAqKnBwejsKICAqcHkgKz0gMjsKICAgeSA9ICpweTsKICAgeCArPSAzOwogICByZXR1cm4geCArIHkgKyB6Owp9CiAgCmludCBtYWluKCkKewogICBpbnQgYywgKmIsICoqYTsKICAgYyA9IDQ7CiAgIGIgPSAmYzsKICAgYSA9ICZiOyAKICAgcHJpbnRmKCAiJWRcbiIsIGYoYyxiLGEpKTsKICAgcHJpbnRmKCAiJWRcbiIsIGMpOwp9Cg==