(hand)
:param hand: list - cards in hand.
    :return: list - hand with Jacks (if present) value doubled.
def maybe_double_last(hand):
    """

    :param hand: list - cards in hand.
    :return: list - hand with Jacks (if present) value doubled.
    """

    pass
def maybe_double_last ( hand ) : pass