Solution of #79.