avg, sum = dofoo(1,2,3,4,5,6)
print("From Lua - average is "..avg)
print("From Lua - sum is "..sum)