def coin_row_with_values(lst):
    if (lst == []):
        return [0, []]
    use_it = coin_row_with_values(lst[2:])
    new_sum = (lst[0] + use_it[0])
    lose_it = coin_row_with_values(lst[1:])
    if (new_sum > lose_it[0]):
        return [new_sum, ([lst[0]] + use_it[1])]
    return lose_it
def coin_row_with_values(lst):
    if (lst == []):
        return [0, []]
    use_it = coin_row_with_values(lst[2:])
    new_sum = (lst[0] + use_it[0])
    lose_it = coin_row_with_values(lst[1:])
    if (new_sum > lose_it[0]):
        return [new_sum, ([lst[0]] + use_it[1])]
    return lose_it