Problem 22 reading and ordering.