How to Design the Perfect Queue, According to Crowd Science