Beinner solution - lua

Good times.