A generator, duck typing, and a branchless conditional walk into a bar.
Have you ever heard of a maths problem based on Lord of The Rings characters?