Assign resources using the same algorithm used by men choosing which urinal to use