Initial try at grade school exercise.