~$ time python t.py
.
real 0m0.350s
user 0m0.304s
sys 0m0.024s
~$ time lua t.lua
.
real 0m0.255s
user 0m0.248s
sys 0m0.004s
~$ time luajit t.lua
.
real 0m0.157s
user 0m0.144s
sys 0m0.012s
I unfortunately had to edit the program after I took the measurements because HN cut off my program horizontally. So I removed one or two letters from the list.