Solutions of #23, #27.