local function p(...)local p={}local d=select("\035",...)local T=#select(1,...)for p=2,d,1 do local d=#select(p,...)if d<T then T=d end end for T=1,T,1 do p[T]={}for d=1,d,1 do p[T][d]=(select(d,...))[T]end end return p end return p

local function zip(...)
	local new = {}
	local argc = select('#', ...)
	local minLen = #select(1, ...)

	for i = 2, argc do
		local len = #select(i, ...)

		if len < minLen then
			minLen = len
		end
	end

	for i = 1, minLen do
		new[i] = {}
		
		for j = 1, argc do
			new[i][j] = select(j, ...)[i]
		end
	end

	return new
end

return zip