#include <stdio.h>
#define MAXN 1000
int N = 0;
int a[MAXN];
int main(void) {
int tmp;
while( scanf( "%d", &tmp
) != EOF
) { a[N++] = tmp;
}
// reading is done, array lenght is in N, elements 0..N-1 are set in a array
int i;
for ( i = 0; i < N; ++i ) {
printf( "a[%d]=%d\n", i
, a
[i
]); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgojZGVmaW5lIE1BWE4gMTAwMAoKaW50IE4gPSAwOwppbnQgYVtNQVhOXTsKCmludCBtYWluKHZvaWQpIHsKCWludCB0bXA7Cgl3aGlsZSggc2NhbmYoICIlZCIsICZ0bXApICE9IEVPRiApIHsKCQlhW04rK10gPSB0bXA7Cgl9CgkvLyByZWFkaW5nIGlzIGRvbmUsIGFycmF5IGxlbmdodCBpcyBpbiBOLCBlbGVtZW50cyAwLi5OLTEgYXJlIHNldCBpbiBhIGFycmF5CglwcmludGYoIk49JWRcbiIsIE4pOwoJaW50IGk7Cglmb3IgKCBpID0gMDsgaSA8IE47ICsraSApIHsKCQlwcmludGYoICJhWyVkXT0lZFxuIiwgaSwgYVtpXSk7Cgl9CglyZXR1cm4gMDsKfQ==