Diversity and Response in Immune Repertoires