Splitting the array in three subarrays using list argument

Published --