#include<stdio.h>
main() {
int kg, zbf, hhf, c;
kg = zbf = hhf = 0;
while ((c = getchar()) != EOF)
{
if (c == ' ')
{
kg += 1;
}
if (c == '\t')
{
zbf += 1;
}
if (c == '\n')
{
hhf += 1;
}
}
printf("空格数:%d\n 制表符数:%d\n 换行符数%d", kg, zbf, hhf);
}