In the context of the given sentence, ‘whom’ must be replaced with ‘who’ as ‘whom’ is used as the object of a verb or preposition, but here the object is already given and thus ‘who’ will be used which means ‘which person or people.’