Write getchar and putchar, and do exercise.