Instructions: The task is to generate the correct answer for a given math problem.
Input: Problem: there are 8 stores in town that had a total of 22 visitors on a particular day . however , only 12 people went shopping that day ; some people visited more than one store . if 8 people visited exactly two stores each , and everyone visited at least one store , what is the largest number of stores anyone could have visited ?
Output:
3