Solve problems 72-73 using Lua.