local function make_closure ()
local x = 5
print "B"
return function ()
print "D"
return x
end
print "A"
local f = make_closure ()
print "C"
print (f ())
print "E"