Solves P6