Social learning strategies regulate the wisdom and madness of interactive crowds