Solution of #104.