Solutions of #41, #43, #47.