Write a program that splits an array into two arrays where any element in one array is smaller than any element in the other array. Solutions are not unique, but equally sized splits are desirable. The input can be any size array less than 100.
Example input: [6, 45, 23, 65, 17, 48, 97, 32, 18, 9, 88]
Example output: [6, 23, 17, 18 , 9]