P04 solution (length)