#include <iostream>
using namespace std;
int main() {
int i,p[]={1,2,3,4};
int* q = p;
for(i=0;i<4;i++)
{
cout<<*q;
q++;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgaSxwW109ezEsMiwzLDR9OwoJaW50KiBxID0gcDsKCWZvcihpPTA7aTw0O2krKykKCXsKCQljb3V0PDwqcTsKCQlxKys7Cgl9IAp9