Solution of #91.