Last year, San Francisco startup Jetpac offered a $5,000 purse to anyone who could teach a computer to discern which of tens of thousands of vacation photos were any good. More than 200 contestants entered. The second-place winner’s code now lives at the core of JetPac’s iPad travel app, which sifts and displays your Facebook friends’ best travel snapshots to inspire your next excursion.

On Thursday, the company announced that the results of the $5,000 contest had essentially netted them $2.4 million in venture capital funding, mainly from Khosla Ventures and Yahoo co-founder Jerry Yang. That’s some math Jetpac doesn’t need to outsource to appreciate.