Number the 8 boxes so that no consecutive numbers touch