def get_inputs( filename):
    """
    The input file contains the list of questions to which
    each group of passengers answered yes on the customs form.

    Each line in the group represents a single person.
    
    This function returns a list of lists where the entries
    of the inner list represents each person.
    """
    with open( filename, 'r') as input_file:
        groups = input_file.read().split('\n\n')
    inputs = []
    for group in groups:
        inputs.append( group.splitlines() )
    return inputs