concatuate an array to get minimum numbers