def get_prizes(matching_numbers, powerball_match):
    """Look up the prizes for winning numbers
    """
    prizes = {True: {0: 0, 1: 4, 2: 4, 3: 7, 4: 100, 5: 50000, 6: 'Jackpot!'},
            False: {0: 0, 1: 0, 2: 0, 3: 7, 4: 100, 5: 1000000}}
    return prizes[powerball_match][len(matching_numbers)]