#include <stdio.h>
typedef struct
{
int id;
char nojm[32];
int salar;
char phon[32];
} data_t;
int main(void) {
int i = 0;
data_t m[4];
while(fscanf(stdin
,"%d,%[^/,],%d,%s", &m
[i
].
id,m
[i
].
nojm,&m
[i
].
salar,m
[i
].
phon) != EOF
) { printf("%d,%s,%d,%s\n", m
[i
].
id,m
[i
].
nojm,m
[i
].
salar,m
[i
].
phon); i++;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp0eXBlZGVmIHN0cnVjdAp7CglpbnQgaWQ7CgljaGFyIG5vam1bMzJdOwoJaW50IHNhbGFyOwoJY2hhciBwaG9uWzMyXTsKfSBkYXRhX3Q7CgppbnQgbWFpbih2b2lkKSB7CglpbnQgaSA9IDA7CglkYXRhX3QgbVs0XTsKCXdoaWxlKGZzY2FuZihzdGRpbiwiJWQsJVteLyxdLCVkLCVzIiwgJm1baV0uaWQsbVtpXS5ub2ptLCZtW2ldLnNhbGFyLG1baV0ucGhvbikgIT0gRU9GKSB7CiAgICAJcHJpbnRmKCIlZCwlcywlZCwlc1xuIiwgbVtpXS5pZCxtW2ldLm5vam0sbVtpXS5zYWxhcixtW2ldLnBob24pOwogICAgCWkrKzsKCX0KCXJldHVybiAwOwp9Cg==
MSxleGFtcGxlLDIsMzsKMixleGFtcGwsMyw1OwozLGV4YW1wLDcsNDsKNCxleGFtLDksMTs=
1,example,2,3;
2,exampl,3,5;
3,examp,7,4;
4,exam,9,1;
1,example,2,3;
2,exampl,3,5;
3,examp,7,4;
4,exam,9,1;