Solution of #97.