18 lines
217 B
C
18 lines
217 B
C
#include <stdio.h>
|
|
|
|
int main(){
|
|
char riadok[555];
|
|
int i, j = 0;
|
|
while(1){
|
|
riadok[i] = getchar();
|
|
if(riadok[i] == '\n')
|
|
break;
|
|
else
|
|
i++;
|
|
}
|
|
do{
|
|
printf("%c\n", riadok[j]);
|
|
j++;
|
|
}while(j < i - 2);
|
|
}
|