Revise the ArraySix problem with another solution