Solution of #102.