Solution for P#103.