Sensation and perception

At a crowded reception, a person follows one friend's speech while several other conversations continue. Which ability is most directly involved?