Add PA#5 solution