local function E(E,s)local c=type(E)assert(c=="\116\097\098\108\101","\101\120\112\101\099\116\101\100 \097 \116\097\098\108\101 \102\111\114 \102\105\114\115\116 \097\114\103\117\109\101\110\116\044 \103\111\116 "..c)s=s or 1 local H=type(s)assert(H=="\110\117\109\098\101\114"and s%1==0,"\101\120\112\101\099\116\101\100 \097\110 \105\110\116\101\103\101\114 \102\111\114 \115\101\099\111\110\100 \097\114\103\117\109\101\110\116\044 \103\111\116 "..H)local l={}for s=1,#E-s,1 do l[s]=E[s]end return l end return E

local function pop(list, pops)
	local listType = type(list)
	assert(listType == "table", "expected a table for first argument, got " .. listType)

	pops = pops or 1
	local popsType = type(pops)
	assert(popsType == "number" and pops % 1 == 0, "expected an integer for second argument, got " .. popsType)

	local new = {}

	for i = 1, #list - pops do
		new[i] = list[i]
	end

	return new
end

return pop