Solve problem 80 using Lua.