local list=goroutine.list()

print("Active coroutines:")
for i=1,#list do
  print(string.format("  %2d : ",i)..list[i])
end