tostring=tostring or function(v)
if type(v)=='boolean' then return v and'true'or'false'
elseif type(v)=='string' then return v
elseif type(v)=='number' then return ''..v
else return type(v)
end
end
function dump(t, sep)
local s=''
for i=1,#t do
s=s..tostring(t[i])..(i<#t and '\n' or '')
end
return s
end
coresume=coresume or coroutine.resume
cocreate=cocreate or coroutine.create
print(dump{coresume(cocreate(function() local x = nil + 1 end))})
dG9zdHJpbmc9dG9zdHJpbmcgb3IgZnVuY3Rpb24odikKIGlmIHR5cGUodik9PSdib29sZWFuJyB0aGVuIHJldHVybiB2IGFuZCd0cnVlJ29yJ2ZhbHNlJwogZWxzZWlmIHR5cGUodik9PSdzdHJpbmcnIHRoZW4gcmV0dXJuIHYKIGVsc2VpZiB0eXBlKHYpPT0nbnVtYmVyJyB0aGVuIHJldHVybiAnJy4udgogZWxzZSByZXR1cm4gdHlwZSh2KQogZW5kCmVuZAoKZnVuY3Rpb24gZHVtcCh0LCBzZXApCiBsb2NhbCBzPScnCiBmb3IgaT0xLCN0IGRvCiAgcz1zLi50b3N0cmluZyh0W2ldKS4uKGk8I3QgYW5kICdcbicgb3IgJycpCiBlbmQKIHJldHVybiBzCmVuZAoKY29yZXN1bWU9Y29yZXN1bWUgb3IgY29yb3V0aW5lLnJlc3VtZQpjb2NyZWF0ZT1jb2NyZWF0ZSBvciBjb3JvdXRpbmUuY3JlYXRlCnByaW50KGR1bXB7Y29yZXN1bWUoY29jcmVhdGUoZnVuY3Rpb24oKSBsb2NhbCB4ID0gbmlsICsgMSBlbmQpKX0p