def get_inputs( filename ):
    """
    The input file contains the starting decks of each player. 
    This function returns a list of lists of their decks.
    """
    with open( filename, 'r' ) as input_file:
        raw_data = input_file.read().split('\n\n')
    decks = []
    for num, raw_deck in enumerate(raw_data):
        deck = [int(card) for card in raw_deck.splitlines()[1:] ]
        decks.append( deck )
    return decks