Solving projecteuler.net problems while drinking