1: #include <stdio.h> 2: #include <stdlib.h> 3: 4: main(){ 5: char s[20]; 6: while(gets(s)!=NULL){ 7: if(isalpha(s[0])){ 8: putchar('4'); 9: } 10: if(s[0]!='|'){ 11: puts(s); 12: } 13: } 14: }