input an array and turn it into 123456780, and ouput the process