def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 3 == 0]
    r = r[1:]
    r = list(dict.fromkeys(r))
    return r


Take a list of integers; keep multiples of three, then drop the first element, then drop duplicates keeping first occurrence.


Take a list of integers; negate each, then extend to length 3 using zeros, then count the elements.


Take a list of integers; reverse the signs of everything, then pad to 3, then how many items remain.


Take a list of integers; negate each, then extend to length 3 using zeros, then tell me the length.


Take a list of integers; reverse the signs of everything, then pad to 3, then return the length.


Take a list of integers; negate each, then extend to length 3 using zeros, then count them.


Take a list of integers; reverse the signs of everything, then pad to 3, then what's the count.


def solve(xs):
    r = list(xs)
    r = [-x for x in r]
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    return len(r)


Take a list of integers; negate each, then pad with zeros to at least three elements, then return how many remain.


Take a list of integers; sort ascending, then remove repeated values, then true if at least one even value.


Take a list of integers; Sort it from low to high, then unique values preserving order, then any even.


Take a list of integers; arrange in increasing order, then remove repeated values, then true if at least one even value.


Take a list of integers; Organize these ascending, then unique values preserving order, then any even.


Take a list of integers; Sort in ascending order, then remove repeated values, then true if at least one even value.


Take a list of integers; I need this sorted ascending, then unique values preserving order, then any even.


def solve(xs):
    r = list(xs)
    r = sorted(r)
    r = list(dict.fromkeys(r))
    return any(x % 2 == 0 for x in r)


Take a list of integers; sort ascending, then drop duplicates keeping first occurrence, then return whether any value is even.


Take a list of integers; keep only the last three, then skip negatives at the start, then arrange in decreasing order.


Take a list of integers; keep the final three items, then remove all negatives at the front, then arrange in descending order.


Take a list of integers; take the last three, then remove the initial run of negative numbers, then reverse sort.


Take a list of integers; trim to the last three, then strip the front negatives, then sort largest to smallest.


Take a list of integers; last three only, then remove leading negative numbers, then sort by descending values.


Take a list of integers; truncate to the last three items, then drop negatives from start, then sort from highest to lowest.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = sorted(r, reverse=True)
    return r


Take a list of integers; keep only the last three, then drop the leading negative values, then sort descending.


Take a list of integers; drop the first element, then multiply each value by itself, then give the earliest even value or zero.


Take a list of integers; Take everything except the first, then square them all, then fetch the first even element, default to 0.


Take a list of integers; drop the first element, then raise each to the power of two, then give the earliest even value or zero.


Take a list of integers; Take everything except the first, then I need each number multiplied by itself, then fetch the first even element, default to 0.


Take a list of integers; drop the first element, then square all of them, then give the earliest even value or zero.


Take a list of integers; Take everything except the first, then multiply each element by itself, then fetch the first even element, default to 0.


def solve(xs):
    r = list(xs)
    r = r[1:]
    r = [x * x for x in r]
    return next((x for x in r if x % 2 == 0), 0)


Take a list of integers; drop the first element, then square each, then return the first even value (0 if none).


Take a list of integers; keep the negative numbers, then remove the first item, then limit every value to 10.


Take a list of integers; extract negatives, then Remove head, then maximum of 10 for all.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x < 0]
    r = r[1:]
    r = [min(x, 10) for x in r]
    return r


Take a list of integers; keep the negative numbers, then drop the first element, then cap each value at 10.


Take a list of integers; take the absolute value of each, then drop anything 5 or below, then skip the first one.


Take a list of integers; convert to absolute value, then keep only numbers greater than 5, then Discard the first element.


Take a list of integers; strip the signs, then filter for numbers above 5, then skip the first one.


Take a list of integers; take abs of each, then give me values where x is greater than 5, then Discard the first element.


Take a list of integers; get the absolute value of everything, then show me only the values that are bigger than five, then skip the first one.


Take a list of integers; apply absolute value to the whole list, then keep values greater than five, then Discard the first element.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = [x for x in r if x > 5]
    r = r[1:]
    return r


Take a list of integers; take the absolute value of each, then keep values greater than five, then drop the first element.


Take a list of integers; sort ascending, then keep values above zero, then count the elements.


Take a list of integers; Sort it from low to high, then filter for positive numbers, then how many items remain.


Take a list of integers; arrange in increasing order, then keep only positive numbers, then tell me the length.


Take a list of integers; Organize these ascending, then keep the positives, then return the length.


Take a list of integers; Sort in ascending order, then remove negatives, then count them.


Take a list of integers; I need this sorted ascending, then keep the positive numbers, then what's the count.


def solve(xs):
    r = list(xs)
    r = sorted(r)
    r = [x for x in r if x > 0]
    return len(r)


Take a list of integers; sort ascending, then keep the positive numbers, then return how many remain.


Take a list of integers; drop the first and last elements, then increase every value by 10, then keep only non-zero numbers.


Take a list of integers; take out the first and last items, then add 10 to each item, then strip the zeros.


Take a list of integers; remove both ends, then shift each up by ten, then keep only non-zero numbers.


Take a list of integers; trim the edges, then increase all numbers by 10, then strip the zeros.


Take a list of integers; trim one element off each end, then add 10 to everything, then keep only non-zero numbers.


Take a list of integers; cut off the first and last, then give everything a boost of 10, then strip the zeros.


def solve(xs):
    r = list(xs)
    r = r[1:-1]
    r = [x + 10 for x in r]
    r = [x for x in r if x != 0]
    return r


Take a list of integers; drop the first and last elements, then add ten to each, then drop the zeros.


Take a list of integers; drop the first and last elements, then remove the first item, then make each twice as big.


Take a list of integers; take out the first and last items, then Remove head, then multiply each by 2.


Take a list of integers; remove both ends, then remove the first item, then make each twice as big.


Take a list of integers; trim the edges, then Remove head, then multiply each by 2.


Take a list of integers; trim one element off each end, then remove the first item, then make each twice as big.


Take a list of integers; cut off the first and last, then Remove head, then multiply each by 2.


def solve(xs):
    r = list(xs)
    r = r[1:-1]
    r = r[1:]
    r = [x * 2 for x in r]
    return r


Take a list of integers; drop the first and last elements, then drop the first element, then double each.


Take a list of integers; drop the first element, then order by distance from zero, then find the min, defaulting to 0.


Take a list of integers; Take everything except the first, then sort based on absolute value, then minimum value, zero otherwise.


Take a list of integers; drop the first element, then organize by magnitude, then get the minimum value or zero if empty.


Take a list of integers; Take everything except the first, then arrange by absolute value ascending, then give me the min or 0.


Take a list of integers; drop the first element, then sort from smallest to largest absolute value, then return the smallest number, defaulting to 0.


Take a list of integers; Take everything except the first, then sort by absolute value, then return smallest or zero if empty.


def solve(xs):
    r = list(xs)
    r = r[1:]
    r = sorted(r, key=abs)
    return min(r) if r else 0


Take a list of integers; drop the first element, then sort by absolute value, then return the minimum (0 if empty).


Take a list of integers; double each, then clamp each to at most ten, then shift each up by ten.


Take a list of integers; times two for each item, then don't let anything exceed 10, then increase all numbers by 10.


Take a list of integers; double each, then clamp each to at most ten, then add 10 to everything.


Take a list of integers; times two for each item, then don't let anything exceed 10, then give everything a boost of 10.


Take a list of integers; double each, then clamp each to at most ten, then increment each by ten.


Take a list of integers; times two for each item, then don't let anything exceed 10, then add a constant 10 to each.


def solve(xs):
    r = list(xs)
    r = [x * 2 for x in r]
    r = [min(x, 10) for x in r]
    r = [x + 10 for x in r]
    return r


Take a list of integers; double each, then cap each value at 10, then add ten to each.


Take a list of integers; pad with zeros to at least three elements, then remove the first item, then true if already sorted smallest to largest.


Take a list of integers; add zeros until the list has at least three values, then Remove head, then does this list go in ascending order.


Take a list of integers; pad with zeros to at least three elements, then remove the first item, then check if the list is in ascending order.


Take a list of integers; add zeros until the list has at least three values, then Remove head, then is the list sorted.


Take a list of integers; pad with zeros to at least three elements, then remove the first item, then is it sorted.


Take a list of integers; add zeros until the list has at least three values, then Remove head, then check if values are in increasing order.


def solve(xs):
    r = list(xs)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = r[1:]
    return r == sorted(r)


Take a list of integers; pad with zeros to at least three elements, then drop the first element, then return whether the list is sorted ascending.


Take a list of integers; reverse the order, then keep values above zero, then arrange by magnitude ignoring sign.


Take a list of integers; reverse, then filter for positive numbers, then put them in order by magnitude.


Take a list of integers; flip the list around, then keep only positive numbers, then arrange in order of absolute value.


Take a list of integers; flip the order around, then keep the positives, then sort by distance from zero.


Take a list of integers; put the elements backwards, then remove negatives, then order by how far from zero.


Take a list of integers; reverse that for me, then keep the positive numbers, then order by distance from zero.


def solve(xs):
    r = list(xs)
    r = list(reversed(r))
    r = [x for x in r if x > 0]
    r = sorted(r, key=abs)
    return r


Take a list of integers; reverse the order, then keep the positive numbers, then sort by absolute value.


Take a list of integers; keep everything before the first zero, then multiply each by two, then true only if all are positive.


Take a list of integers; take only what comes before the initial zero, then double each item in the list, then do all of these have positive values.


Take a list of integers; cut the list at the first zero, then multiply each by two, then check if every value is positive.


Take a list of integers; cut off after the first zero appears, then double each item in the list, then confirm all values are positive.


Take a list of integers; take values up to (excluding) the first zero, then multiply each by two, then all positive.


Take a list of integers; keep the part before the first 0, then double each item in the list, then check if every number is above zero.


def solve(xs):
    r = list(xs)
    r = r[:r.index(0)] if 0 in r else r
    r = [x * 2 for x in r]
    return all(x > 0 for x in r)


Take a list of integers; keep everything before the first zero, then double each, then return whether all values are positive.


Take a list of integers; subtract one from each, then keep the leading run of positive numbers, then put the elements backwards.


Take a list of integers; Decrement all items, then take values while they are positive, then reverse that for me.


Take a list of integers; decrement each value, then take positive values then stop, then flip it backwards.


Take a list of integers; Lower each number by one, then keep going while positive, then make it backwards.


Take a list of integers; reduce each by one, then stop at first non positive, then reverse the list.


Take a list of integers; Subtract 1 from all, then take while greater than zero, then invert the sequence.


def solve(xs):
    r = list(xs)
    r = [x - 1 for x in r]
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = list(reversed(r))
    return r


Take a list of integers; subtract one from each, then take values while they are positive, then reverse the order.


Take a list of integers; drop the first and last elements, then keep the leading run of positive numbers, then take values up to (excluding) the first zero.


Take a list of integers; take out the first and last items, then take values while they are positive, then keep the part before the first 0.


Take a list of integers; remove both ends, then take positive values then stop, then truncate at the first zero.


Take a list of integers; trim the edges, then keep going while positive, then delete everything starting with the first zero.


Take a list of integers; trim one element off each end, then stop at first non positive, then remove from the first zero onwards.


Take a list of integers; cut off the first and last, then take while greater than zero, then up to but not including the first zero.


def solve(xs):
    r = list(xs)
    r = r[1:-1]
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = r[:r.index(0)] if 0 in r else r
    return r


Take a list of integers; drop the first and last elements, then take values while they are positive, then keep everything before the first zero.


Take a list of integers; pad with zeros to at least three elements, then take the final 3 elements, then multiply each by -1.


Take a list of integers; add zeros until the list has at least three values, then drop everything except the final three, then negate.


Take a list of integers; pad with zeros to at least three elements, then give me the last three elements, then multiply each by -1.


Take a list of integers; add zeros until the list has at least three values, then keep only the last three, then negate.


Take a list of integers; pad with zeros to at least three elements, then keep the final three items, then multiply each by -1.


Take a list of integers; add zeros until the list has at least three values, then take the last three, then negate.


def solve(xs):
    r = list(xs)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = r[-3:]
    r = [-x for x in r]
    return r


Take a list of integers; pad with zeros to at least three elements, then keep only the last three, then negate each.


Take a list of integers; drop the first element, then increase every value by 10, then deduplicate the list.


Take a list of integers; Take everything except the first, then add 10 to each item, then remove repeats.


Take a list of integers; drop the first element, then shift each up by ten, then deduplicate the list.


Take a list of integers; Take everything except the first, then increase all numbers by 10, then remove repeats.


Take a list of integers; drop the first element, then add 10 to everything, then deduplicate the list.


Take a list of integers; Take everything except the first, then give everything a boost of 10, then remove repeats.


def solve(xs):
    r = list(xs)
    r = r[1:]
    r = [x + 10 for x in r]
    r = list(dict.fromkeys(r))
    return r


Take a list of integers; drop the first element, then add ten to each, then drop duplicates keeping first occurrence.


Take a list of integers; keep only the first three, then order by distance from zero, then drop non-positive values.


Take a list of integers; keep the first 3 items, then sort based on absolute value, then drop the negative numbers.


Take a list of integers; take the first 3 elements, then organize by magnitude, then filter out the negative ones.


Take a list of integers; remove everything after the third, then arrange by absolute value ascending, then remove all negative values.


Take a list of integers; truncate to three items, then sort from smallest to largest absolute value, then keep positive values only.


Take a list of integers; show the first three, then sort by absolute value, then keep values above zero.


def solve(xs):
    r = list(xs)
    r = r[:3]
    r = sorted(r, key=abs)
    r = [x for x in r if x > 0]
    return r


Take a list of integers; keep only the first three, then sort by absolute value, then keep the positive numbers.


Take a list of strings; sort by length, shortest first, then keep only non-empty strings, then return them as one comma-separated string.


Take a list of strings; sort ascending by length, then filter empty strings, then separate by comma.


Take a list of strings; order strings from shortest to longest, then remove empty strings from the list, then join with commas.


Take a list of strings; shortest to longest, then clean up empty strings, then comma join.


Take a list of strings; arrange by string length ascending, then delete empty entries, then combine using commas.


Take a list of strings; length sort, then drop empty strings, then connect with commas between each item.


def solve(xs):
    r = list(xs)
    r = sorted(r, key=len)
    r = [s for s in r if s]
    return ','.join(r)


Take a list of strings; sort by length, shortest first, then drop empty strings, then join them with commas.


Take a list of integers; sort by absolute value, then skip negatives at the start, then drop non-negative values.


Take a list of integers; rearrange by distance from zero, then remove all negatives at the front, then drop all positive numbers.


Take a list of integers; arrange by magnitude ignoring sign, then remove the initial run of negative numbers, then drop non-negative values.


Take a list of integers; put them in order by magnitude, then strip the front negatives, then drop all positive numbers.


Take a list of integers; arrange in order of absolute value, then remove leading negative numbers, then drop non-negative values.


Take a list of integers; sort by distance from zero, then drop negatives from start, then drop all positive numbers.


def solve(xs):
    r = list(xs)
    r = sorted(r, key=abs)
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = [x for x in r if x < 0]
    return r


Take a list of integers; sort by absolute value, then drop the leading negative values, then keep the negative numbers.


Take a list of integers; keep values greater than five, then sort smallest to largest, then make each twice as big.


Take a list of integers; filter out values less than or equal to 5, then Ascending sort, then multiply each by 2.


Take a list of integers; keep only numbers above 5, then Sort this ascending, then make each twice as big.


Take a list of integers; exclude values of 5 and below, then Sort lowest to highest, then multiply each by 2.


Take a list of integers; remove anything 5 or less, then Arrange from smallest to largest, then make each twice as big.


Take a list of integers; filter to keep only values above 5, then sort ascending, then multiply each by 2.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 5]
    r = sorted(r)
    r = [x * 2 for x in r]
    return r


Take a list of integers; keep values greater than five, then sort ascending, then double each.


Take a list of integers; subtract one from each, then skip negatives at the start, then truncate to the last three items.


Take a list of integers; Decrement all items, then remove all negatives at the front, then show only the last three.


Take a list of integers; decrement each value, then remove the initial run of negative numbers, then remove all but the last three.


Take a list of integers; Lower each number by one, then strip the front negatives, then take the final 3 elements.


Take a list of integers; reduce each by one, then remove leading negative numbers, then drop everything except the final three.


Take a list of integers; Subtract 1 from all, then drop negatives from start, then give me the last three elements.


def solve(xs):
    r = list(xs)
    r = [x - 1 for x in r]
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = r[-3:]
    return r


Take a list of integers; subtract one from each, then drop the leading negative values, then keep only the last three.


Take a list of integers; drop the leading negative values, then keep values below zero, then arrange by magnitude ignoring sign.


Take a list of integers; cut the leading negatives, then get the negative numbers, then put them in order by magnitude.


Take a list of integers; skip negatives at the start, then keep values below zero, then arrange in order of absolute value.


Take a list of integers; remove all negatives at the front, then get the negative numbers, then sort by distance from zero.


Take a list of integers; remove the initial run of negative numbers, then keep values below zero, then order by how far from zero.


Take a list of integers; strip the front negatives, then get the negative numbers, then order by distance from zero.


def solve(xs):
    r = list(xs)
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = [x for x in r if x < 0]
    r = sorted(r, key=abs)
    return r


Take a list of integers; drop the leading negative values, then keep the negative numbers, then sort by absolute value.


Take a list of integers; sort ascending, then flip the sign of each, then true if already sorted smallest to largest.


Take a list of integers; Sort it from low to high, then turn positives to negatives and vice versa, then does this list go in ascending order.


Take a list of integers; arrange in increasing order, then flip the sign of each, then check if the list is in ascending order.


Take a list of integers; Organize these ascending, then turn positives to negatives and vice versa, then is the list sorted.


Take a list of integers; Sort in ascending order, then flip the sign of each, then is it sorted.


Take a list of integers; I need this sorted ascending, then turn positives to negatives and vice versa, then check if values are in increasing order.


def solve(xs):
    r = list(xs)
    r = sorted(r)
    r = [-x for x in r]
    return r == sorted(r)


Take a list of integers; sort ascending, then negate each, then return whether the list is sorted ascending.


Take a list of integers; add ten to each, then drop anything 5 or below, then trim one element off each end.


Take a list of integers; bump everything up by 10, then keep only numbers greater than 5, then cut off the first and last.


Take a list of integers; increase every value by 10, then filter for numbers above 5, then remove the first and last elements.


Take a list of integers; add 10 to each item, then give me values where x is greater than 5, then keep only the middle part.


Take a list of integers; shift each up by ten, then show me only the values that are bigger than five, then drop first and last.


Take a list of integers; increase all numbers by 10, then keep values greater than five, then eliminate the outermost elements.


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = [x for x in r if x > 5]
    r = r[1:-1]
    return r


Take a list of integers; add ten to each, then keep values greater than five, then drop the first and last elements.


Take a list of integers; keep the positive numbers, then sort smallest to largest, then find the max, defaulting to 0.


Take a list of integers; get rid of anything that's not positive, then Ascending sort, then Give me the maximum, but 0 if there are no items.


Take a list of integers; drop non-positive values, then Sort this ascending, then What's the highest number in the list.


Take a list of integers; drop the negative numbers, then Sort lowest to highest, then Return the greatest value or default to 0.


Take a list of integers; filter out the negative ones, then Arrange from smallest to largest, then Find the largest element, defaulting to zero.


Take a list of integers; remove all negative values, then sort ascending, then give the largest value (0 if none).


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 0]
    r = sorted(r)
    return max(r) if r else 0


Take a list of integers; keep the positive numbers, then sort ascending, then return the maximum (0 if empty).


Take a list of integers; take values while they are positive, then take the first 3 elements, then find the max, defaulting to 0.


Take a list of integers; take positive values then stop, then remove everything after the third, then Give me the maximum, but 0 if there are no items.


Take a list of integers; keep going while positive, then truncate to three items, then What's the highest number in the list.


Take a list of integers; stop at first non positive, then show the first three, then Return the greatest value or default to 0.


Take a list of integers; take while greater than zero, then take the first three, then Find the largest element, defaulting to zero.


Take a list of integers; take values while positive, then keep first 3, then give the largest value (0 if none).


def solve(xs):
    r = list(xs)
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = r[:3]
    return max(r) if r else 0


Take a list of integers; take values while they are positive, then keep only the first three, then return the maximum (0 if empty).


Take a list of integers; drop the first element, then flip the list around, then shift each up by ten.


Take a list of integers; Take everything except the first, then flip the order around, then increase all numbers by 10.


Take a list of integers; drop the first element, then put the elements backwards, then add 10 to everything.


Take a list of integers; Take everything except the first, then reverse that for me, then give everything a boost of 10.


Take a list of integers; drop the first element, then flip it backwards, then increment each by ten.


Take a list of integers; Take everything except the first, then make it backwards, then add a constant 10 to each.


def solve(xs):
    r = list(xs)
    r = r[1:]
    r = list(reversed(r))
    r = [x + 10 for x in r]
    return r


Take a list of integers; drop the first element, then reverse the order, then add ten to each.


Take a list of people records (name, age); extract the ages, then default to [0] when there is nothing, then drop non-negative values.


Take a list of people records (name, age); show me all ages, then when the list is empty, substitute a zero value, then drop all positive numbers.


Take a list of people records (name, age); pluck the age field from each record, then replace an empty list with one zero, then drop non-negative values.


Take a list of people records (name, age); get the age field, then zero it out if it's empty, then drop all positive numbers.


Take a list of people records (name, age); keep just each person's age, then use zero if the list is empty, then drop non-negative values.


Take a list of people records (name, age); extract age values, then default to zero when empty, then drop all positive numbers.


def solve(xs):
    r = list(xs)
    r = [d['age'] for d in r]
    r = r if r else [0]
    r = [x for x in r if x < 0]
    return r


Take a list of people records (name, age); extract the ages, then if empty, use a single zero, then keep the negative numbers.


Take a list of integers; add ten to each, then take the final 3 elements, then arrange in increasing order.


Take a list of integers; bump everything up by 10, then drop everything except the final three, then Organize these ascending.


Take a list of integers; increase every value by 10, then give me the last three elements, then Sort in ascending order.


Take a list of integers; add 10 to each item, then keep only the last three, then I need this sorted ascending.


Take a list of integers; shift each up by ten, then keep the final three items, then Put these in ascending order.


Take a list of integers; increase all numbers by 10, then take the last three, then sort smallest to largest.


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = r[-3:]
    r = sorted(r)
    return r


Take a list of integers; add ten to each, then keep only the last three, then sort ascending.


Take a list of integers; square each, then increase every value by 10, then drop non-negative values.


Take a list of integers; each value squared, then add 10 to each item, then drop all positive numbers.


Take a list of integers; multiply each value by itself, then shift each up by ten, then drop non-negative values.


Take a list of integers; square them all, then increase all numbers by 10, then drop all positive numbers.


Take a list of integers; raise each to the power of two, then add 10 to everything, then drop non-negative values.


Take a list of integers; I need each number multiplied by itself, then give everything a boost of 10, then drop all positive numbers.


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = [x + 10 for x in r]
    r = [x for x in r if x < 0]
    return r


Take a list of integers; square each, then add ten to each, then keep the negative numbers.


Take a list of integers; keep the positive numbers, then clamp each to at most ten, then ensure at least three items by appending zeros.


Take a list of integers; get rid of anything that's not positive, then don't let anything exceed 10, then ensure minimum length of three by adding zeros to the end.


Take a list of integers; drop non-positive values, then clamp each to at most ten, then ensure at least three items by appending zeros.


Take a list of integers; drop the negative numbers, then don't let anything exceed 10, then ensure minimum length of three by adding zeros to the end.


Take a list of integers; filter out the negative ones, then clamp each to at most ten, then ensure at least three items by appending zeros.


Take a list of integers; remove all negative values, then don't let anything exceed 10, then ensure minimum length of three by adding zeros to the end.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 0]
    r = [min(x, 10) for x in r]
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    return r


Take a list of integers; keep the positive numbers, then cap each value at 10, then pad with zeros to at least three elements.


Take a list of integers; keep the even numbers, then keep the leading run of positive numbers, then strip the signs.


Take a list of integers; keep evens, then take values while they are positive, then take abs of each.


Take a list of integers; keep the even numbers, then take positive values then stop, then get the absolute value of everything.


Take a list of integers; keep evens, then keep going while positive, then apply absolute value to the whole list.


Take a list of integers; keep the even numbers, then stop at first non positive, then make them all positive.


Take a list of integers; keep evens, then take while greater than zero, then make every value non-negative.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = [abs(x) for x in r]
    return r


Take a list of integers; keep the even numbers, then take values while they are positive, then take the absolute value of each.


Take a list of integers; double each, then order by distance from zero, then true if already sorted smallest to largest.


Take a list of integers; times two for each item, then sort based on absolute value, then does this list go in ascending order.


Take a list of integers; double each, then organize by magnitude, then check if the list is in ascending order.


Take a list of integers; times two for each item, then arrange by absolute value ascending, then is the list sorted.


Take a list of integers; double each, then sort from smallest to largest absolute value, then is it sorted.


Take a list of integers; times two for each item, then sort by absolute value, then check if values are in increasing order.


def solve(xs):
    r = list(xs)
    r = [x * 2 for x in r]
    r = sorted(r, key=abs)
    return r == sorted(r)


Take a list of integers; double each, then sort by absolute value, then return whether the list is sorted ascending.


Take a list of integers; keep the even numbers, then default to [0] when there is nothing, then truncate to three items.


Take a list of integers; keep evens, then when the list is empty, substitute a zero value, then show the first three.


Take a list of integers; keep the even numbers, then replace an empty list with one zero, then take the first three.


Take a list of integers; keep evens, then zero it out if it's empty, then keep first 3.


Take a list of integers; keep the even numbers, then use zero if the list is empty, then truncate to first three.


Take a list of integers; keep evens, then default to zero when empty, then first three.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = r if r else [0]
    r = r[:3]
    return r


Take a list of integers; keep the even numbers, then if empty, use a single zero, then keep only the first three.


Take a list of integers; pad with zeros to at least three elements, then order by distance from zero, then reduce each by one.


Take a list of integers; add zeros until the list has at least three values, then sort based on absolute value, then Subtract 1 from all.


Take a list of integers; pad with zeros to at least three elements, then organize by magnitude, then Subtract one from each.


Take a list of integers; add zeros until the list has at least three values, then arrange by absolute value ascending, then Drop each by one.


Take a list of integers; pad with zeros to at least three elements, then sort from smallest to largest absolute value, then Decrease all values by one.


Take a list of integers; add zeros until the list has at least three values, then sort by absolute value, then Remove one from each value.


def solve(xs):
    r = list(xs)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = sorted(r, key=abs)
    r = [x - 1 for x in r]
    return r


Take a list of integers; pad with zeros to at least three elements, then sort by absolute value, then subtract one from each.


Take a list of integers; keep the positive numbers, then decrement each value, then true if already sorted smallest to largest.


Take a list of integers; get rid of anything that's not positive, then Lower each number by one, then does this list go in ascending order.


Take a list of integers; drop non-positive values, then reduce each by one, then check if the list is in ascending order.


Take a list of integers; drop the negative numbers, then Subtract 1 from all, then is the list sorted.


Take a list of integers; filter out the negative ones, then Subtract one from each, then is it sorted.


Take a list of integers; remove all negative values, then Drop each by one, then check if values are in increasing order.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 0]
    r = [x - 1 for x in r]
    return r == sorted(r)


Take a list of integers; keep the positive numbers, then subtract one from each, then return whether the list is sorted ascending.


Take a list of integers; double each, then take the final 3 elements, then true if at least one even value.


Take a list of integers; times two for each item, then drop everything except the final three, then any even.


Take a list of integers; double each, then give me the last three elements, then true if at least one even value.


Take a list of integers; times two for each item, then keep only the last three, then any even.


Take a list of integers; double each, then keep the final three items, then true if at least one even value.


Take a list of integers; times two for each item, then take the last three, then any even.


def solve(xs):
    r = list(xs)
    r = [x * 2 for x in r]
    r = r[-3:]
    return any(x % 2 == 0 for x in r)


Take a list of integers; double each, then keep only the last three, then return whether any value is even.


Take a list of integers; keep the even numbers, then clamp each to at most ten, then replace an empty list with one zero.


Take a list of integers; keep evens, then don't let anything exceed 10, then zero it out if it's empty.


Take a list of integers; keep the even numbers, then clamp each to at most ten, then use zero if the list is empty.


Take a list of integers; keep evens, then don't let anything exceed 10, then default to zero when empty.


Take a list of integers; keep the even numbers, then clamp each to at most ten, then if there's nothing, put in a zero.


Take a list of integers; keep evens, then don't let anything exceed 10, then if no items, add a zero.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = [min(x, 10) for x in r]
    r = r if r else [0]
    return r


Take a list of integers; keep the even numbers, then cap each value at 10, then if empty, use a single zero.


Take a list of people records (name, age); extract the ages, then sort smallest to largest, then limit every value to 10.


Take a list of people records (name, age); show me all ages, then Ascending sort, then maximum of 10 for all.


Take a list of people records (name, age); pluck the age field from each record, then Sort this ascending, then limit every value to 10.


Take a list of people records (name, age); get the age field, then Sort lowest to highest, then maximum of 10 for all.


Take a list of people records (name, age); keep just each person's age, then Arrange from smallest to largest, then limit every value to 10.


Take a list of people records (name, age); extract age values, then sort ascending, then maximum of 10 for all.


def solve(xs):
    r = list(xs)
    r = [d['age'] for d in r]
    r = sorted(r)
    r = [min(x, 10) for x in r]
    return r


Take a list of people records (name, age); extract the ages, then sort ascending, then cap each value at 10.


Take a list of integers; sort by absolute value, then keep the leading run of positive numbers, then drop non-negative values.


Take a list of integers; rearrange by distance from zero, then take values while they are positive, then drop all positive numbers.


Take a list of integers; arrange by magnitude ignoring sign, then take positive values then stop, then drop non-negative values.


Take a list of integers; put them in order by magnitude, then keep going while positive, then drop all positive numbers.


Take a list of integers; arrange in order of absolute value, then stop at first non positive, then drop non-negative values.


Take a list of integers; sort by distance from zero, then take while greater than zero, then drop all positive numbers.


def solve(xs):
    r = list(xs)
    r = sorted(r, key=abs)
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = [x for x in r if x < 0]
    return r


Take a list of integers; sort by absolute value, then take values while they are positive, then keep the negative numbers.


Take a list of integers; sort by absolute value, then flip the list around, then true if at least one even value.


Take a list of integers; rearrange by distance from zero, then flip the order around, then any even.


Take a list of integers; arrange by magnitude ignoring sign, then put the elements backwards, then true if at least one even value.


Take a list of integers; put them in order by magnitude, then reverse that for me, then any even.


Take a list of integers; arrange in order of absolute value, then flip it backwards, then true if at least one even value.


Take a list of integers; sort by distance from zero, then make it backwards, then any even.


def solve(xs):
    r = list(xs)
    r = sorted(r, key=abs)
    r = list(reversed(r))
    return any(x % 2 == 0 for x in r)


Take a list of integers; sort by absolute value, then reverse the order, then return whether any value is even.


Take a list of people records (name, age); extract the ages, then flip the sign of each, then true if already sorted smallest to largest.


Take a list of people records (name, age); show me all ages, then turn positives to negatives and vice versa, then does this list go in ascending order.


Take a list of people records (name, age); pluck the age field from each record, then flip the sign of each, then check if the list is in ascending order.


Take a list of people records (name, age); get the age field, then turn positives to negatives and vice versa, then is the list sorted.


Take a list of people records (name, age); keep just each person's age, then flip the sign of each, then is it sorted.


Take a list of people records (name, age); extract age values, then turn positives to negatives and vice versa, then check if values are in increasing order.


def solve(xs):
    r = list(xs)
    r = [d['age'] for d in r]
    r = [-x for x in r]
    return r == sorted(r)


Take a list of people records (name, age); extract the ages, then negate each, then return whether the list is sorted ascending.


Take a list of integers; if empty, use a single zero, then remove the first item, then true only if all are positive.


Take a list of integers; if blank use 0, then Remove head, then do all of these have positive values.


Take a list of integers; default to [0] when there is nothing, then remove the first item, then check if every value is positive.


Take a list of integers; when the list is empty, substitute a zero value, then Remove head, then confirm all values are positive.


Take a list of integers; replace an empty list with one zero, then remove the first item, then all positive.


Take a list of integers; zero it out if it's empty, then Remove head, then check if every number is above zero.


def solve(xs):
    r = list(xs)
    r = r if r else [0]
    r = r[1:]
    return all(x > 0 for x in r)


Take a list of integers; if empty, use a single zero, then drop the first element, then return whether all values are positive.


Take a list of integers; add one to each, then increase every value by 10, then ensure at least three items by appending zeros.


Take a list of integers; make each one bigger, then add 10 to each item, then ensure minimum length of three by adding zeros to the end.


Take a list of integers; add one to each, then shift each up by ten, then ensure at least three items by appending zeros.


Take a list of integers; make each one bigger, then increase all numbers by 10, then ensure minimum length of three by adding zeros to the end.


Take a list of integers; add one to each, then add 10 to everything, then ensure at least three items by appending zeros.


Take a list of integers; make each one bigger, then give everything a boost of 10, then ensure minimum length of three by adding zeros to the end.


def solve(xs):
    r = list(xs)
    r = [x + 1 for x in r]
    r = [x + 10 for x in r]
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    return r


Take a list of integers; add one to each, then add ten to each, then pad with zeros to at least three elements.


Take a list of integers; keep the positive numbers, then remove the first item, then drop the even numbers.


Take a list of integers; get rid of anything that's not positive, then Remove head, then strip out the evens.


Take a list of integers; drop non-positive values, then remove the first item, then drop the even numbers.


Take a list of integers; drop the negative numbers, then Remove head, then strip out the evens.


Take a list of integers; filter out the negative ones, then remove the first item, then drop the even numbers.


Take a list of integers; remove all negative values, then Remove head, then strip out the evens.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 0]
    r = r[1:]
    r = [x for x in r if x % 2 != 0]
    return r


Take a list of integers; keep the positive numbers, then drop the first element, then keep the odd numbers.


Take a list of integers; keep only the last three, then order by distance from zero, then arrange in increasing order.


Take a list of integers; keep the final three items, then sort based on absolute value, then Organize these ascending.


Take a list of integers; take the last three, then organize by magnitude, then Sort in ascending order.


Take a list of integers; trim to the last three, then arrange by absolute value ascending, then I need this sorted ascending.


Take a list of integers; last three only, then sort from smallest to largest absolute value, then Put these in ascending order.


Take a list of integers; truncate to the last three items, then sort by absolute value, then sort smallest to largest.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = sorted(r, key=abs)
    r = sorted(r)
    return r


Take a list of integers; keep only the last three, then sort by absolute value, then sort ascending.


Take a list of integers; sort descending, then flip the sign of each, then true if already sorted smallest to largest.


Take a list of integers; sort largest first, then turn positives to negatives and vice versa, then does this list go in ascending order.


Take a list of integers; sort in descending order, then flip the sign of each, then check if the list is in ascending order.


Take a list of integers; sort from greatest to least, then turn positives to negatives and vice versa, then is the list sorted.


Take a list of integers; sort z to a, then flip the sign of each, then is it sorted.


Take a list of integers; arrange in decreasing order, then turn positives to negatives and vice versa, then check if values are in increasing order.


def solve(xs):
    r = list(xs)
    r = sorted(r, reverse=True)
    r = [-x for x in r]
    return r == sorted(r)


Take a list of integers; sort descending, then negate each, then return whether the list is sorted ascending.


Take a list of integers; subtract one from each, then flip the list around, then drop anything not divisible by three.


Take a list of integers; Decrement all items, then flip the order around, then filter out everything except multiples of three.


Take a list of integers; decrement each value, then put the elements backwards, then keep only multiples of three.


Take a list of integers; Lower each number by one, then reverse that for me, then multiples of three only.


Take a list of integers; reduce each by one, then flip it backwards, then filter for numbers divisible by three.


Take a list of integers; Subtract 1 from all, then make it backwards, then give me only the values divisible by three.


def solve(xs):
    r = list(xs)
    r = [x - 1 for x in r]
    r = list(reversed(r))
    r = [x for x in r if x % 3 == 0]
    return r


Take a list of integers; subtract one from each, then reverse the order, then keep multiples of three.


Take a list of integers; sort by absolute value, then extend to length 3 using zeros, then give back the total.


Take a list of integers; rearrange by distance from zero, then pad to 3, then sum r.


Take a list of integers; arrange by magnitude ignoring sign, then extend to length 3 using zeros, then add them up.


Take a list of integers; put them in order by magnitude, then pad to 3, then calculate the sum of all elements.


Take a list of integers; arrange in order of absolute value, then extend to length 3 using zeros, then what's the total.


Take a list of integers; sort by distance from zero, then pad to 3, then what do they add up to.


def solve(xs):
    r = list(xs)
    r = sorted(r, key=abs)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    return sum(r)


Take a list of integers; sort by absolute value, then pad with zeros to at least three elements, then return their sum.


Take a list of integers; square each, then remove the first item, then arrange by magnitude ignoring sign.


Take a list of integers; each value squared, then Remove head, then put them in order by magnitude.


Take a list of integers; multiply each value by itself, then remove the first item, then arrange in order of absolute value.


Take a list of integers; square them all, then Remove head, then sort by distance from zero.


Take a list of integers; raise each to the power of two, then remove the first item, then order by how far from zero.


Take a list of integers; I need each number multiplied by itself, then Remove head, then order by distance from zero.


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = r[1:]
    r = sorted(r, key=abs)
    return r


Take a list of integers; square each, then drop the first element, then sort by absolute value.


Take a list of integers; drop the first and last elements, then keep values below zero, then keep only non-zero numbers.


Take a list of integers; take out the first and last items, then get the negative numbers, then strip the zeros.


Take a list of integers; remove both ends, then keep values below zero, then keep only non-zero numbers.


Take a list of integers; trim the edges, then get the negative numbers, then strip the zeros.


Take a list of integers; trim one element off each end, then keep values below zero, then keep only non-zero numbers.


Take a list of integers; cut off the first and last, then get the negative numbers, then strip the zeros.


def solve(xs):
    r = list(xs)
    r = r[1:-1]
    r = [x for x in r if x < 0]
    r = [x for x in r if x != 0]
    return r


Take a list of integers; drop the first and last elements, then keep the negative numbers, then drop the zeros.


Take a list of integers; drop the first and last elements, then increase every value by 10, then truncate to the last three items.


Take a list of integers; take out the first and last items, then add 10 to each item, then show only the last three.


Take a list of integers; remove both ends, then shift each up by ten, then remove all but the last three.


Take a list of integers; trim the edges, then increase all numbers by 10, then take the final 3 elements.


Take a list of integers; trim one element off each end, then add 10 to everything, then drop everything except the final three.


Take a list of integers; cut off the first and last, then give everything a boost of 10, then give me the last three elements.


def solve(xs):
    r = list(xs)
    r = r[1:-1]
    r = [x + 10 for x in r]
    r = r[-3:]
    return r


Take a list of integers; drop the first and last elements, then add ten to each, then keep only the last three.


Take a list of integers; keep everything before the first zero, then keep values below zero, then arrange by magnitude ignoring sign.


Take a list of integers; take only what comes before the initial zero, then get the negative numbers, then put them in order by magnitude.


Take a list of integers; cut the list at the first zero, then keep values below zero, then arrange in order of absolute value.


Take a list of integers; cut off after the first zero appears, then get the negative numbers, then sort by distance from zero.


Take a list of integers; take values up to (excluding) the first zero, then keep values below zero, then order by how far from zero.


Take a list of integers; keep the part before the first 0, then get the negative numbers, then order by distance from zero.


def solve(xs):
    r = list(xs)
    r = r[:r.index(0)] if 0 in r else r
    r = [x for x in r if x < 0]
    r = sorted(r, key=abs)
    return r


Take a list of integers; keep everything before the first zero, then keep the negative numbers, then sort by absolute value.


Take a list of integers; subtract one from each, then keep values below zero, then bump each up by one.


Take a list of integers; Decrement all items, then get the negative numbers, then increment each item.


Take a list of integers; decrement each value, then keep values below zero, then bump each up by one.


Take a list of integers; Lower each number by one, then get the negative numbers, then increment each item.


Take a list of integers; reduce each by one, then keep values below zero, then bump each up by one.


Take a list of integers; Subtract 1 from all, then get the negative numbers, then increment each item.


def solve(xs):
    r = list(xs)
    r = [x - 1 for x in r]
    r = [x for x in r if x < 0]
    r = [x + 1 for x in r]
    return r


Take a list of integers; subtract one from each, then keep the negative numbers, then add one to each.


Take a list of integers; if empty, use a single zero, then skip negatives at the start, then give the earliest even value or zero.


Take a list of integers; if blank use 0, then remove all negatives at the front, then fetch the first even element, default to 0.


Take a list of integers; default to [0] when there is nothing, then remove the initial run of negative numbers, then give the earliest even value or zero.


Take a list of integers; when the list is empty, substitute a zero value, then strip the front negatives, then fetch the first even element, default to 0.


Take a list of integers; replace an empty list with one zero, then remove leading negative numbers, then give the earliest even value or zero.


Take a list of integers; zero it out if it's empty, then drop negatives from start, then fetch the first even element, default to 0.


def solve(xs):
    r = list(xs)
    r = r if r else [0]
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    return next((x for x in r if x % 2 == 0), 0)


Take a list of integers; if empty, use a single zero, then drop the leading negative values, then return the first even value (0 if none).


Take a list of integers; keep the even numbers, then remove both ends, then drop anything not divisible by three.


Take a list of integers; keep evens, then trim the edges, then filter out everything except multiples of three.


Take a list of integers; keep the even numbers, then trim one element off each end, then keep only multiples of three.


Take a list of integers; keep evens, then cut off the first and last, then multiples of three only.


Take a list of integers; keep the even numbers, then remove the first and last elements, then filter for numbers divisible by three.


Take a list of integers; keep evens, then keep only the middle part, then give me only the values divisible by three.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 == 0]
    r = r[1:-1]
    r = [x for x in r if x % 3 == 0]
    return r


Take a list of integers; keep the even numbers, then drop the first and last elements, then keep multiples of three.


Take a list of integers; drop the first element, then keep the leading run of positive numbers, then count the elements.


Take a list of integers; Take everything except the first, then take values while they are positive, then how many items remain.


Take a list of integers; drop the first element, then take positive values then stop, then tell me the length.


Take a list of integers; Take everything except the first, then keep going while positive, then return the length.


Take a list of integers; drop the first element, then stop at first non positive, then count them.


Take a list of integers; Take everything except the first, then take while greater than zero, then what's the count.


def solve(xs):
    r = list(xs)
    r = r[1:]
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    return len(r)


Take a list of integers; drop the first element, then take values while they are positive, then return how many remain.


Take a list of integers; keep only the last three, then multiply each value by itself, then drop anything not divisible by three.


Take a list of integers; keep the final three items, then square them all, then filter out everything except multiples of three.


Take a list of integers; take the last three, then raise each to the power of two, then keep only multiples of three.


Take a list of integers; trim to the last three, then I need each number multiplied by itself, then multiples of three only.


Take a list of integers; last three only, then square all of them, then filter for numbers divisible by three.


Take a list of integers; truncate to the last three items, then multiply each element by itself, then give me only the values divisible by three.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = [x * x for x in r]
    r = [x for x in r if x % 3 == 0]
    return r


Take a list of integers; keep only the last three, then square each, then keep multiples of three.


Take a list of integers; keep the negative numbers, then remove the first item, then keep only numbers above 5.


Take a list of integers; extract negatives, then Remove head, then exclude values of 5 and below.


Take a list of integers; keep the negative numbers, then remove the first item, then remove anything 5 or less.


Take a list of integers; extract negatives, then Remove head, then filter to keep only values above 5.


Take a list of integers; keep the negative numbers, then remove the first item, then get rid of values that aren't greater than five.


Take a list of integers; extract negatives, then Remove head, then drop anything 5 or below.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x < 0]
    r = r[1:]
    r = [x for x in r if x > 5]
    return r


Take a list of integers; keep the negative numbers, then drop the first element, then keep values greater than five.


Take a list of integers; take the absolute value of each, then flip the sign of each, then keep only numbers above 5.


Take a list of integers; convert to absolute value, then turn positives to negatives and vice versa, then exclude values of 5 and below.


Take a list of integers; strip the signs, then flip the sign of each, then remove anything 5 or less.


Take a list of integers; take abs of each, then turn positives to negatives and vice versa, then filter to keep only values above 5.


Take a list of integers; get the absolute value of everything, then flip the sign of each, then get rid of values that aren't greater than five.


Take a list of integers; apply absolute value to the whole list, then turn positives to negatives and vice versa, then drop anything 5 or below.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = [-x for x in r]
    r = [x for x in r if x > 5]
    return r


Take a list of integers; take the absolute value of each, then negate each, then keep values greater than five.


Take a list of integers; keep the odd numbers, then clamp each to at most ten, then raise each to the power of two.


Take a list of integers; odd numbers only, then don't let anything exceed 10, then I need each number multiplied by itself.


Take a list of integers; keep the odd numbers, then clamp each to at most ten, then square all of them.


Take a list of integers; odd numbers only, then don't let anything exceed 10, then multiply each element by itself.


Take a list of integers; keep the odd numbers, then clamp each to at most ten, then make each one squared.


Take a list of integers; odd numbers only, then don't let anything exceed 10, then square each value in the list.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 2 != 0]
    r = [min(x, 10) for x in r]
    r = [x * x for x in r]
    return r


Take a list of integers; keep the odd numbers, then cap each value at 10, then square each.


Take a list of integers; add ten to each, then remove both ends, then drop the odd numbers.


Take a list of integers; bump everything up by 10, then trim the edges, then filter out the odd numbers.


Take a list of integers; increase every value by 10, then trim one element off each end, then drop the odd numbers.


Take a list of integers; add 10 to each item, then cut off the first and last, then filter out the odd numbers.


Take a list of integers; shift each up by ten, then remove the first and last elements, then drop the odd numbers.


Take a list of integers; increase all numbers by 10, then keep only the middle part, then filter out the odd numbers.


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = r[1:-1]
    r = [x for x in r if x % 2 == 0]
    return r


Take a list of integers; add ten to each, then drop the first and last elements, then keep the even numbers.


Take a list of integers; keep everything before the first zero, then keep values below zero, then limit every value to 10.


Take a list of integers; take only what comes before the initial zero, then get the negative numbers, then maximum of 10 for all.


Take a list of integers; cut the list at the first zero, then keep values below zero, then limit every value to 10.


Take a list of integers; cut off after the first zero appears, then get the negative numbers, then maximum of 10 for all.


Take a list of integers; take values up to (excluding) the first zero, then keep values below zero, then limit every value to 10.


Take a list of integers; keep the part before the first 0, then get the negative numbers, then maximum of 10 for all.


def solve(xs):
    r = list(xs)
    r = r[:r.index(0)] if 0 in r else r
    r = [x for x in r if x < 0]
    r = [min(x, 10) for x in r]
    return r


Take a list of integers; keep everything before the first zero, then keep the negative numbers, then cap each value at 10.


Take a list of people records (name, age); extract the ages, then multiply each by two, then trim one element off each end.


Take a list of people records (name, age); show me all ages, then double each item in the list, then cut off the first and last.


Take a list of people records (name, age); pluck the age field from each record, then multiply each by two, then remove the first and last elements.


Take a list of people records (name, age); get the age field, then double each item in the list, then keep only the middle part.


Take a list of people records (name, age); keep just each person's age, then multiply each by two, then drop first and last.


Take a list of people records (name, age); extract age values, then double each item in the list, then eliminate the outermost elements.


def solve(xs):
    r = list(xs)
    r = [d['age'] for d in r]
    r = [x * 2 for x in r]
    r = r[1:-1]
    return r


Take a list of people records (name, age); extract the ages, then double each, then drop the first and last elements.


Take a list of integers; sort by absolute value, then drop anything 5 or below, then keep only non-zero numbers.


Take a list of integers; rearrange by distance from zero, then keep only numbers greater than 5, then strip the zeros.


Take a list of integers; arrange by magnitude ignoring sign, then filter for numbers above 5, then keep only non-zero numbers.


Take a list of integers; put them in order by magnitude, then give me values where x is greater than 5, then strip the zeros.


Take a list of integers; arrange in order of absolute value, then show me only the values that are bigger than five, then keep only non-zero numbers.


Take a list of integers; sort by distance from zero, then keep values greater than five, then strip the zeros.


def solve(xs):
    r = list(xs)
    r = sorted(r, key=abs)
    r = [x for x in r if x > 5]
    r = [x for x in r if x != 0]
    return r


Take a list of integers; sort by absolute value, then keep values greater than five, then drop the zeros.


Take a list of integers; keep only the last three, then remove both ends, then true if any value equals zero.


Take a list of integers; keep the final three items, then trim the edges, then check for zero.


Take a list of integers; take the last three, then trim one element off each end, then true if any value equals zero.


Take a list of integers; trim to the last three, then cut off the first and last, then check for zero.


Take a list of integers; last three only, then remove the first and last elements, then true if any value equals zero.


Take a list of integers; truncate to the last three items, then keep only the middle part, then check for zero.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = r[1:-1]
    return 0 in r


Take a list of integers; keep only the last three, then drop the first and last elements, then return whether the list contains a zero.


Take a list of integers; add ten to each, then keep values above zero, then true if any value equals zero.


Take a list of integers; bump everything up by 10, then filter for positive numbers, then check for zero.


Take a list of integers; increase every value by 10, then keep only positive numbers, then true if any value equals zero.


Take a list of integers; add 10 to each item, then keep the positives, then check for zero.


Take a list of integers; shift each up by ten, then remove negatives, then true if any value equals zero.


Take a list of integers; increase all numbers by 10, then keep the positive numbers, then check for zero.


def solve(xs):
    r = list(xs)
    r = [x + 10 for x in r]
    r = [x for x in r if x > 0]
    return 0 in r


Take a list of integers; add ten to each, then keep the positive numbers, then return whether the list contains a zero.


Take a list of integers; square each, then order by distance from zero, then find the max, defaulting to 0.


Take a list of integers; each value squared, then sort based on absolute value, then Give me the maximum, but 0 if there are no items.


Take a list of integers; multiply each value by itself, then organize by magnitude, then What's the highest number in the list.


Take a list of integers; square them all, then arrange by absolute value ascending, then Return the greatest value or default to 0.


Take a list of integers; raise each to the power of two, then sort from smallest to largest absolute value, then Find the largest element, defaulting to zero.


Take a list of integers; I need each number multiplied by itself, then sort by absolute value, then give the largest value (0 if none).


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = sorted(r, key=abs)
    return max(r) if r else 0


Take a list of integers; square each, then sort by absolute value, then return the maximum (0 if empty).


Take a list of integers; keep values greater than five, then remove the first item, then true if any value equals zero.


Take a list of integers; filter out values less than or equal to 5, then Remove head, then check for zero.


Take a list of integers; keep only numbers above 5, then remove the first item, then true if any value equals zero.


Take a list of integers; exclude values of 5 and below, then Remove head, then check for zero.


Take a list of integers; remove anything 5 or less, then remove the first item, then true if any value equals zero.


Take a list of integers; filter to keep only values above 5, then Remove head, then check for zero.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 5]
    r = r[1:]
    return 0 in r


Take a list of integers; keep values greater than five, then drop the first element, then return whether the list contains a zero.


Take a list of integers; drop the first and last elements, then keep the leading run of positive numbers, then find the min, defaulting to 0.


Take a list of integers; take out the first and last items, then take values while they are positive, then minimum value, zero otherwise.


Take a list of integers; remove both ends, then take positive values then stop, then get the minimum value or zero if empty.


Take a list of integers; trim the edges, then keep going while positive, then give me the min or 0.


Take a list of integers; trim one element off each end, then stop at first non positive, then return the smallest number, defaulting to 0.


Take a list of integers; cut off the first and last, then take while greater than zero, then return smallest or zero if empty.


def solve(xs):
    r = list(xs)
    r = r[1:-1]
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    return min(r) if r else 0


Take a list of integers; drop the first and last elements, then take values while they are positive, then return the minimum (0 if empty).


Take a list of integers; if empty, use a single zero, then keep only odd values, then put the elements backwards.


Take a list of integers; if blank use 0, then eliminate the even numbers, then reverse that for me.


Take a list of integers; default to [0] when there is nothing, then keep only odd values, then flip it backwards.


Take a list of integers; when the list is empty, substitute a zero value, then eliminate the even numbers, then make it backwards.


Take a list of integers; replace an empty list with one zero, then keep only odd values, then reverse the list.


Take a list of integers; zero it out if it's empty, then eliminate the even numbers, then invert the sequence.


def solve(xs):
    r = list(xs)
    r = r if r else [0]
    r = [x for x in r if x % 2 != 0]
    r = list(reversed(r))
    return r


Take a list of integers; if empty, use a single zero, then keep the odd numbers, then reverse the order.


Take a list of integers; drop the leading negative values, then flip the sign of each, then truncate to the last three items.


Take a list of integers; cut the leading negatives, then turn positives to negatives and vice versa, then show only the last three.


Take a list of integers; skip negatives at the start, then flip the sign of each, then remove all but the last three.


Take a list of integers; remove all negatives at the front, then turn positives to negatives and vice versa, then take the final 3 elements.


Take a list of integers; remove the initial run of negative numbers, then flip the sign of each, then drop everything except the final three.


Take a list of integers; strip the front negatives, then turn positives to negatives and vice versa, then give me the last three elements.


def solve(xs):
    r = list(xs)
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = [-x for x in r]
    r = r[-3:]
    return r


Take a list of integers; drop the leading negative values, then negate each, then keep only the last three.


Take a list of integers; square each, then clamp each to at most ten, then shift each up by ten.


Take a list of integers; each value squared, then don't let anything exceed 10, then increase all numbers by 10.


Take a list of integers; multiply each value by itself, then clamp each to at most ten, then add 10 to everything.


Take a list of integers; square them all, then don't let anything exceed 10, then give everything a boost of 10.


Take a list of integers; raise each to the power of two, then clamp each to at most ten, then increment each by ten.


Take a list of integers; I need each number multiplied by itself, then don't let anything exceed 10, then add a constant 10 to each.


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = [min(x, 10) for x in r]
    r = [x + 10 for x in r]
    return r


Take a list of integers; square each, then cap each value at 10, then add ten to each.


Take a list of integers; keep everything before the first zero, then increase every value by 10, then keep only non-zero numbers.


Take a list of integers; take only what comes before the initial zero, then add 10 to each item, then strip the zeros.


Take a list of integers; cut the list at the first zero, then shift each up by ten, then keep only non-zero numbers.


Take a list of integers; cut off after the first zero appears, then increase all numbers by 10, then strip the zeros.


Take a list of integers; take values up to (excluding) the first zero, then add 10 to everything, then keep only non-zero numbers.


Take a list of integers; keep the part before the first 0, then give everything a boost of 10, then strip the zeros.


def solve(xs):
    r = list(xs)
    r = r[:r.index(0)] if 0 in r else r
    r = [x + 10 for x in r]
    r = [x for x in r if x != 0]
    return r


Take a list of integers; keep everything before the first zero, then add ten to each, then drop the zeros.


Take a list of integers; if empty, use a single zero, then order by distance from zero, then truncate to three items.


Take a list of integers; if blank use 0, then sort based on absolute value, then show the first three.


Take a list of integers; default to [0] when there is nothing, then organize by magnitude, then take the first three.


Take a list of integers; when the list is empty, substitute a zero value, then arrange by absolute value ascending, then keep first 3.


Take a list of integers; replace an empty list with one zero, then sort from smallest to largest absolute value, then truncate to first three.


Take a list of integers; zero it out if it's empty, then sort by absolute value, then first three.


def solve(xs):
    r = list(xs)
    r = r if r else [0]
    r = sorted(r, key=abs)
    r = r[:3]
    return r


Take a list of integers; if empty, use a single zero, then sort by absolute value, then keep only the first three.


Take a list of integers; keep the positive numbers, then flip the list around, then truncate to the last three items.


Take a list of integers; get rid of anything that's not positive, then flip the order around, then show only the last three.


Take a list of integers; drop non-positive values, then put the elements backwards, then remove all but the last three.


Take a list of integers; drop the negative numbers, then reverse that for me, then take the final 3 elements.


Take a list of integers; filter out the negative ones, then flip it backwards, then drop everything except the final three.


Take a list of integers; remove all negative values, then make it backwards, then give me the last three elements.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 0]
    r = list(reversed(r))
    r = r[-3:]
    return r


Take a list of integers; keep the positive numbers, then reverse the order, then keep only the last three.


Take a list of integers; reverse the order, then remove the first item, then truncate to the last three items.


Take a list of integers; reverse, then Remove head, then show only the last three.


Take a list of integers; flip the list around, then remove the first item, then remove all but the last three.


Take a list of integers; flip the order around, then Remove head, then take the final 3 elements.


Take a list of integers; put the elements backwards, then remove the first item, then drop everything except the final three.


Take a list of integers; reverse that for me, then Remove head, then give me the last three elements.


def solve(xs):
    r = list(xs)
    r = list(reversed(r))
    r = r[1:]
    r = r[-3:]
    return r


Take a list of integers; reverse the order, then drop the first element, then keep only the last three.


Take a list of integers; take the absolute value of each, then decrement each value, then keep only numbers above 5.


Take a list of integers; convert to absolute value, then Lower each number by one, then exclude values of 5 and below.


Take a list of integers; strip the signs, then reduce each by one, then remove anything 5 or less.


Take a list of integers; take abs of each, then Subtract 1 from all, then filter to keep only values above 5.


Take a list of integers; get the absolute value of everything, then Subtract one from each, then get rid of values that aren't greater than five.


Take a list of integers; apply absolute value to the whole list, then Drop each by one, then drop anything 5 or below.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = [x - 1 for x in r]
    r = [x for x in r if x > 5]
    return r


Take a list of integers; take the absolute value of each, then subtract one from each, then keep values greater than five.


Take a list of integers; sort descending, then skip negatives at the start, then true if every value is unique.


Take a list of integers; sort largest first, then remove all negatives at the front, then check for duplicates in the values.


Take a list of integers; sort in descending order, then remove the initial run of negative numbers, then do all values appear only once.


Take a list of integers; sort from greatest to least, then strip the front negatives, then check that there are no duplicates.


Take a list of integers; sort z to a, then remove leading negative numbers, then are the values all unique.


Take a list of integers; arrange in decreasing order, then drop negatives from start, then check if all values are unique.


def solve(xs):
    r = list(xs)
    r = sorted(r, reverse=True)
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    return len(r) == len(set(r))


Take a list of integers; sort descending, then drop the leading negative values, then return whether all values are distinct.


Take a list of integers; keep only the first three, then increase every value by 10, then true if every value is unique.


Take a list of integers; keep the first 3 items, then add 10 to each item, then check for duplicates in the values.


Take a list of integers; take the first 3 elements, then shift each up by ten, then do all values appear only once.


Take a list of integers; remove everything after the third, then increase all numbers by 10, then check that there are no duplicates.


Take a list of integers; truncate to three items, then add 10 to everything, then are the values all unique.


Take a list of integers; show the first three, then give everything a boost of 10, then check if all values are unique.


def solve(xs):
    r = list(xs)
    r = r[:3]
    r = [x + 10 for x in r]
    return len(r) == len(set(r))


Take a list of integers; keep only the first three, then add ten to each, then return whether all values are distinct.


Take a list of integers; keep multiples of three, then make every value non-negative, then drop the even numbers.


Take a list of integers; get rid of non-multiples of three, then absolute value for all items, then strip out the evens.


Take a list of integers; keep values divisible by 3, then take absolute values, then drop the even numbers.


Take a list of integers; keep items where x mod 3 equals zero, then turn negatives into positives, then strip out the evens.


Take a list of integers; drop anything not divisible by three, then abs each element, then drop the even numbers.


Take a list of integers; filter out everything except multiples of three, then take the absolute value of each, then strip out the evens.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 3 == 0]
    r = [abs(x) for x in r]
    r = [x for x in r if x % 2 != 0]
    return r


Take a list of integers; keep multiples of three, then take the absolute value of each, then keep the odd numbers.


Take a list of integers; sort descending, then multiply each value by itself, then put the elements backwards.


Take a list of integers; sort largest first, then square them all, then reverse that for me.


Take a list of integers; sort in descending order, then raise each to the power of two, then flip it backwards.


Take a list of integers; sort from greatest to least, then I need each number multiplied by itself, then make it backwards.


Take a list of integers; sort z to a, then square all of them, then reverse the list.


Take a list of integers; arrange in decreasing order, then multiply each element by itself, then invert the sequence.


def solve(xs):
    r = list(xs)
    r = sorted(r, reverse=True)
    r = [x * x for x in r]
    r = list(reversed(r))
    return r


Take a list of integers; sort descending, then square each, then reverse the order.


Take a list of integers; keep only the last three, then skip negatives at the start, then find the min, defaulting to 0.


Take a list of integers; keep the final three items, then remove all negatives at the front, then minimum value, zero otherwise.


Take a list of integers; take the last three, then remove the initial run of negative numbers, then get the minimum value or zero if empty.


Take a list of integers; trim to the last three, then strip the front negatives, then give me the min or 0.


Take a list of integers; last three only, then remove leading negative numbers, then return the smallest number, defaulting to 0.


Take a list of integers; truncate to the last three items, then drop negatives from start, then return smallest or zero if empty.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    return min(r) if r else 0


Take a list of integers; keep only the last three, then drop the leading negative values, then return the minimum (0 if empty).


Take a list of integers; keep only the first three, then flip the list around, then true only if all are positive.


Take a list of integers; keep the first 3 items, then flip the order around, then do all of these have positive values.


Take a list of integers; take the first 3 elements, then put the elements backwards, then check if every value is positive.


Take a list of integers; remove everything after the third, then reverse that for me, then confirm all values are positive.


Take a list of integers; truncate to three items, then flip it backwards, then all positive.


Take a list of integers; show the first three, then make it backwards, then check if every number is above zero.


def solve(xs):
    r = list(xs)
    r = r[:3]
    r = list(reversed(r))
    return all(x > 0 for x in r)


Take a list of integers; keep only the first three, then reverse the order, then return whether all values are positive.


Take a list of integers; negate each, then sort largest to smallest, then replace an empty list with one zero.


Take a list of integers; reverse the signs of everything, then sort by descending values, then zero it out if it's empty.


Take a list of integers; negate each, then sort from highest to lowest, then use zero if the list is empty.


Take a list of integers; reverse the signs of everything, then sort descending, then default to zero when empty.


Take a list of integers; negate each, then sort largest first, then if there's nothing, put in a zero.


Take a list of integers; reverse the signs of everything, then sort in descending order, then if no items, add a zero.


def solve(xs):
    r = list(xs)
    r = [-x for x in r]
    r = sorted(r, reverse=True)
    r = r if r else [0]
    return r


Take a list of integers; negate each, then sort descending, then if empty, use a single zero.


Take a list of integers; double each, then keep the leading run of positive numbers, then keep only numbers above 5.


Take a list of integers; times two for each item, then take values while they are positive, then exclude values of 5 and below.


Take a list of integers; double each, then take positive values then stop, then remove anything 5 or less.


Take a list of integers; times two for each item, then keep going while positive, then filter to keep only values above 5.


Take a list of integers; double each, then stop at first non positive, then get rid of values that aren't greater than five.


Take a list of integers; times two for each item, then take while greater than zero, then drop anything 5 or below.


def solve(xs):
    r = list(xs)
    r = [x * 2 for x in r]
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = [x for x in r if x > 5]
    return r


Take a list of integers; double each, then take values while they are positive, then keep values greater than five.


Take a list of integers; keep values greater than five, then keep values above zero, then truncate to three items.


Take a list of integers; filter out values less than or equal to 5, then filter for positive numbers, then show the first three.


Take a list of integers; keep only numbers above 5, then keep only positive numbers, then take the first three.


Take a list of integers; exclude values of 5 and below, then keep the positives, then keep first 3.


Take a list of integers; remove anything 5 or less, then remove negatives, then truncate to first three.


Take a list of integers; filter to keep only values above 5, then keep the positive numbers, then first three.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x > 5]
    r = [x for x in r if x > 0]
    r = r[:3]
    return r


Take a list of integers; keep values greater than five, then keep the positive numbers, then keep only the first three.


Take a list of integers; keep only the last three, then skip negatives at the start, then multiply each by -1.


Take a list of integers; keep the final three items, then remove all negatives at the front, then negate.


Take a list of integers; take the last three, then remove the initial run of negative numbers, then multiply each by -1.


Take a list of integers; trim to the last three, then strip the front negatives, then negate.


Take a list of integers; last three only, then remove leading negative numbers, then multiply each by -1.


Take a list of integers; truncate to the last three items, then drop negatives from start, then negate.


def solve(xs):
    r = list(xs)
    r = r[-3:]
    r = r[next((i for i, x in enumerate(r) if x >= 0), len(r)):]
    r = [-x for x in r]
    return r


Take a list of integers; keep only the last three, then drop the leading negative values, then negate each.


Take a list of integers; reverse the order, then remove all zero values, then drop non-negative values.


Take a list of integers; reverse, then exclude zeros, then drop all positive numbers.


Take a list of integers; flip the list around, then remove all zero values, then drop non-negative values.


Take a list of integers; flip the order around, then exclude zeros, then drop all positive numbers.


Take a list of integers; put the elements backwards, then remove all zero values, then drop non-negative values.


Take a list of integers; reverse that for me, then exclude zeros, then drop all positive numbers.


def solve(xs):
    r = list(xs)
    r = list(reversed(r))
    r = [x for x in r if x != 0]
    r = [x for x in r if x < 0]
    return r


Take a list of integers; reverse the order, then drop the zeros, then keep the negative numbers.


Take a list of integers; pad with zeros to at least three elements, then remove both ends, then drop anything not divisible by three.


Take a list of integers; add zeros until the list has at least three values, then trim the edges, then filter out everything except multiples of three.


Take a list of integers; pad with zeros to at least three elements, then trim one element off each end, then keep only multiples of three.


Take a list of integers; add zeros until the list has at least three values, then cut off the first and last, then multiples of three only.


Take a list of integers; pad with zeros to at least three elements, then remove the first and last elements, then filter for numbers divisible by three.


Take a list of integers; add zeros until the list has at least three values, then keep only the middle part, then give me only the values divisible by three.


def solve(xs):
    r = list(xs)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = r[1:-1]
    r = [x for x in r if x % 3 == 0]
    return r


Take a list of integers; pad with zeros to at least three elements, then drop the first and last elements, then keep multiples of three.


Take a list of integers; keep multiples of three, then increment each value, then drop the odd numbers.


Take a list of integers; get rid of non-multiples of three, then plus one for all, then filter out the odd numbers.


Take a list of integers; keep values divisible by 3, then increment each value, then drop the odd numbers.


Take a list of integers; keep items where x mod 3 equals zero, then plus one for all, then filter out the odd numbers.


Take a list of integers; drop anything not divisible by three, then increment each value, then drop the odd numbers.


Take a list of integers; filter out everything except multiples of three, then plus one for all, then filter out the odd numbers.


def solve(xs):
    r = list(xs)
    r = [x for x in r if x % 3 == 0]
    r = [x + 1 for x in r]
    r = [x for x in r if x % 2 == 0]
    return r


Take a list of integers; keep multiples of three, then add one to each, then keep the even numbers.


Take a list of integers; drop the first element, then keep values below zero, then give the number of evens.


Take a list of integers; Take everything except the first, then get the negative numbers, then find how many values are divisible by two.


Take a list of integers; drop the first element, then keep values below zero, then how many are even.


Take a list of integers; Take everything except the first, then get the negative numbers, then get the total number of even values in the list.


Take a list of integers; drop the first element, then keep values below zero, then give me the count of even values.


Take a list of integers; Take everything except the first, then get the negative numbers, then I need to know how many of these are even.


def solve(xs):
    r = list(xs)
    r = r[1:]
    r = [x for x in r if x < 0]
    return sum(1 for x in r if x % 2 == 0)


Take a list of integers; drop the first element, then keep the negative numbers, then return how many values are even.


Take a list of integers; take the absolute value of each, then sort smallest to largest, then true if at least one even value.


Take a list of integers; convert to absolute value, then Ascending sort, then any even.


Take a list of integers; strip the signs, then Sort this ascending, then true if at least one even value.


Take a list of integers; take abs of each, then Sort lowest to highest, then any even.


Take a list of integers; get the absolute value of everything, then Arrange from smallest to largest, then true if at least one even value.


Take a list of integers; apply absolute value to the whole list, then sort ascending, then any even.


def solve(xs):
    r = list(xs)
    r = [abs(x) for x in r]
    r = sorted(r)
    return any(x % 2 == 0 for x in r)


Take a list of integers; take the absolute value of each, then sort ascending, then return whether any value is even.


Take a list of integers; reverse the order, then clamp each to at most ten, then true if already sorted smallest to largest.


Take a list of integers; reverse, then don't let anything exceed 10, then does this list go in ascending order.


Take a list of integers; flip the list around, then clamp each to at most ten, then check if the list is in ascending order.


Take a list of integers; flip the order around, then don't let anything exceed 10, then is the list sorted.


Take a list of integers; put the elements backwards, then clamp each to at most ten, then is it sorted.


Take a list of integers; reverse that for me, then don't let anything exceed 10, then check if values are in increasing order.


def solve(xs):
    r = list(xs)
    r = list(reversed(r))
    r = [min(x, 10) for x in r]
    return r == sorted(r)


Take a list of integers; reverse the order, then cap each value at 10, then return whether the list is sorted ascending.


Take a list of integers; square each, then keep only even values, then shift each up by ten.


Take a list of integers; each value squared, then extract all even numbers, then increase all numbers by 10.


Take a list of integers; multiply each value by itself, then keep only even values, then add 10 to everything.


Take a list of integers; square them all, then extract all even numbers, then give everything a boost of 10.


Take a list of integers; raise each to the power of two, then keep only even values, then increment each by ten.


Take a list of integers; I need each number multiplied by itself, then extract all even numbers, then add a constant 10 to each.


def solve(xs):
    r = list(xs)
    r = [x * x for x in r]
    r = [x for x in r if x % 2 == 0]
    r = [x + 10 for x in r]
    return r


Take a list of integers; square each, then keep the even numbers, then add ten to each.


Take a list of integers; pad with zeros to at least three elements, then keep the leading run of positive numbers, then truncate to three items.


Take a list of integers; add zeros until the list has at least three values, then take values while they are positive, then show the first three.


Take a list of integers; pad with zeros to at least three elements, then take positive values then stop, then take the first three.


Take a list of integers; add zeros until the list has at least three values, then keep going while positive, then keep first 3.


Take a list of integers; pad with zeros to at least three elements, then stop at first non positive, then truncate to first three.


Take a list of integers; add zeros until the list has at least three values, then take while greater than zero, then first three.


def solve(xs):
    r = list(xs)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = r[:next((i for i, x in enumerate(r) if x <= 0), len(r))]
    r = r[:3]
    return r


Take a list of integers; pad with zeros to at least three elements, then take values while they are positive, then keep only the first three.


Take a list of integers; negate each, then take the final 3 elements, then strip the signs.


Take a list of integers; reverse the signs of everything, then drop everything except the final three, then take abs of each.


Take a list of integers; negate each, then give me the last three elements, then get the absolute value of everything.


Take a list of integers; reverse the signs of everything, then keep only the last three, then apply absolute value to the whole list.


Take a list of integers; negate each, then keep the final three items, then make them all positive.


Take a list of integers; reverse the signs of everything, then take the last three, then make every value non-negative.


def solve(xs):
    r = list(xs)
    r = [-x for x in r]
    r = r[-3:]
    r = [abs(x) for x in r]
    return r


Take a list of integers; negate each, then keep only the last three, then take the absolute value of each.


Take a list of integers; keep everything before the first zero, then sort smallest to largest, then true if at least one even value.


Take a list of integers; take only what comes before the initial zero, then Ascending sort, then any even.


Take a list of integers; cut the list at the first zero, then Sort this ascending, then true if at least one even value.


Take a list of integers; cut off after the first zero appears, then Sort lowest to highest, then any even.


Take a list of integers; take values up to (excluding) the first zero, then Arrange from smallest to largest, then true if at least one even value.


Take a list of integers; keep the part before the first 0, then sort ascending, then any even.


def solve(xs):
    r = list(xs)
    r = r[:r.index(0)] if 0 in r else r
    r = sorted(r)
    return any(x % 2 == 0 for x in r)


Take a list of integers; keep everything before the first zero, then sort ascending, then return whether any value is even.


Take a list of integers; pad with zeros to at least three elements, then remove repeated values, then trim one element off each end.


Take a list of integers; add zeros until the list has at least three values, then unique values preserving order, then cut off the first and last.


Take a list of integers; pad with zeros to at least three elements, then remove repeated values, then remove the first and last elements.


Take a list of integers; add zeros until the list has at least three values, then unique values preserving order, then keep only the middle part.


Take a list of integers; pad with zeros to at least three elements, then remove repeated values, then drop first and last.


Take a list of integers; add zeros until the list has at least three values, then unique values preserving order, then eliminate the outermost elements.


def solve(xs):
    r = list(xs)
    r = r + [0] * (3 - len(r)) if len(r) < 3 else r
    r = list(dict.fromkeys(r))
    r = r[1:-1]
    return r


Take a list of integers; pad with zeros to at least three elements, then drop duplicates keeping first occurrence, then drop the first and last elements.


Take a list of integers; subtract one from each, then drop anything 5 or below, then give the number of evens.


Take a list of integers; Decrement all items, then keep only numbers greater than 5, then find how many values are divisible by two.


Take a list of integers; decrement each value, then filter for numbers above 5, then how many are even.


Take a list of integers; Lower each number by one, then give me values where x is greater than 5, then get the total number of even values in the list.


Take a list of integers; reduce each by one, then show me only the values that are bigger than five, then give me the count of even values.


Take a list of integers; Subtract 1 from all, then keep values greater than five, then I need to know how many of these are even.


def solve(xs):
    r = list(xs)
    r = [x - 1 for x in r]
    r = [x for x in r if x > 5]
    return sum(1 for x in r if x % 2 == 0)


Take a list of integers; subtract one from each, then keep values greater than five, then return how many values are even.


Take a list of integers; sort descending, then take the final 3 elements, then limit every value to 10.


Take a list of integers; sort largest first, then drop everything except the final three, then maximum of 10 for all.


Take a list of integers; sort in descending order, then give me the last three elements, then limit every value to 10.


Take a list of integers; sort from greatest to least, then keep only the last three, then maximum of 10 for all.


Take a list of integers; sort z to a, then keep the final three items, then limit every value to 10.


Take a list of integers; arrange in decreasing order, then take the last three, then maximum of 10 for all.