input data for homework exercise 8.2