import time


def equalweight(values_dict):
    """
    The Equal-Weight heuristic (EQW). It ignores the probabilities and only checks for the outcome with the largest value.
    If two or more outcomes have the same value, it will choose the first one in the list.

    :param values_dict: a dictionary combining the payoffs and their corresponding values
    :return: the outcome with the largest value according to the EQW rule (see description), execution time
    """
    start_time = time.time()

    # all values equally likely, therefore only choose the highest value
    return max(values_dict, key=values_dict.get), 0

    # uncomment the following line if you want to use computational execution time instead of manual set execution time
    # return max(values_dict, key=values_dict.get), (time.time() - start_time)