Solve problem 87 using Lua.