Solution of #81.