Input: The type of immunity that results from a vaccination or infection?
Output: 

 The type of immunity that results directly to an individual from a vaccination or infection? 
 Acquired immunity