Flexibility in Adapting to Populations