#include #include #define BUFSIZE 30 int main(void) { char s[BUFSIZE], s1[BUFSIZE], s2[BUFSIZE], s3[BUFSIZE]; int t; scanf("%d",&t); printf("%d",t); int num; while (fgets(s, BUFSIZE, stdin)) { sscanf(s,"%s %s %d %s",s1,s2,num,s3); printf("%s %s %d %s",s1,s2,num+1,s3); } return 0; }