process the input data, show summary