def get_inputs( filename ):
    """
    The input file has a row of seats in each line. 
    This function returns each row as a list.
    """
    with open( filename, 'r') as input_file:
        return [ [seat for seat in row] for row in input_file.read().splitlines() ]