p026 solved by guruma.