input
stringlengths 666
703
| output
listlengths 1
1
| id
stringlengths 40
40
|
---|---|---|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [191, 128, 80]
Output:
|
[
"[574, 64, 40]"
] |
task206-1e6c70da6b284ca1bdecb180c84d5c9a
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [155, 111, 8, 160, 75, 124, 96]
Output:
|
[
"[466, 334, 4, 80, 226, 62, 48]"
] |
task206-27e06c15f2f94e5993106cb618498b6f
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [172, 186, 134, 9]
Output:
|
[
"[86, 93, 67, 28]"
] |
task206-0d9ded50ca4049d49fe51c80f78439fd
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [185, 168, 17]
Output:
|
[
"[556, 84, 52]"
] |
task206-da1eb697131b4d4592e764d27845a3e8
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [178, 186, 184]
Output:
|
[
"[89, 93, 92]"
] |
task206-6cf95c33fd1548ecb087c8d7377982bd
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [148, 179, 35, 92, 102, 190, 11]
Output:
|
[
"[74, 538, 106, 46, 51, 95, 34]"
] |
task206-b3596d34dea44e7eb355538755f32c99
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [80, 30, 166, 57, 18]
Output:
|
[
"[40, 15, 83, 172, 9]"
] |
task206-a42f11c9caeb461685aca38d691b4332
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [143, 82, 83, 69, 150, 13, 163]
Output:
|
[
"[430, 41, 250, 208, 75, 40, 490]"
] |
task206-c07a0cc0797341eb97bc2685fa7e41fb
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [157, 72, 120, 110, 87, 10, 176, 180, 57]
Output:
|
[
"[472, 36, 60, 55, 262, 5, 88, 90, 172]"
] |
task206-28a103658a6a469a85bd9ca94bbdd30e
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [18, 4, 7, 105, 148, 140]
Output:
|
[
"[9, 2, 22, 316, 74, 70]"
] |
task206-d7560727df2542bea572873e02fe23ec
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [141, 18, 39, 36, 58, 43, 169]
Output:
|
[
"[424, 9, 118, 18, 29, 130, 508]"
] |
task206-7d3a4ebf721748ef995c1891a4c168fa
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [178, 10, 9, 131, 45]
Output:
|
[
"[89, 5, 28, 394, 136]"
] |
task206-bd6d840779a84592a1a326c802b46b5e
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [167, 58, 192, 178, 180, 165]
Output:
|
[
"[502, 29, 96, 89, 90, 496]"
] |
task206-90af5b9f38ae4dc5bbf4c5cc338c86c5
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [135, 93, 162, 60, 170, 91]
Output:
|
[
"[406, 280, 81, 30, 85, 274]"
] |
task206-632a789cad3740929e30e7f3b7bdf678
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [13, 45, 12, 34, 82]
Output:
|
[
"[40, 136, 6, 17, 41]"
] |
task206-6c9ccc24e8d34f86a7adc7e40ecaf3b9
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [134, 190, 71, 189, 22, 178]
Output:
|
[
"[67, 95, 214, 568, 11, 89]"
] |
task206-5faaa921127949ec83657eb6df4fa226
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [116, 92, 180, 113]
Output:
|
[
"[58, 46, 90, 340]"
] |
task206-96c20d276178497c91fa370158068c2c
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [182, 173, 136, 23, 47]
Output:
|
[
"[91, 520, 68, 70, 142]"
] |
task206-e20fd9dab02c4f7394a53599ed89e001
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [6, 25, 151, 162]
Output:
|
[
"[3, 76, 454, 81]"
] |
task206-e6cc2e9c3a754355b787a7c23b3363ab
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [80, 199, 48]
Output:
|
[
"[40, 598, 24]"
] |
task206-cb689fac0b8a4cc1b9b5602c8ab54eaa
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [98, 171]
Output:
|
[
"[49, 514]"
] |
task206-a72851de55de4943afcf14eab13b671b
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [118, 148, 181, 104, 46, 121, 41, 131, 44]
Output:
|
[
"[59, 74, 544, 52, 23, 364, 124, 394, 22]"
] |
task206-afb0788798b3405095d02f58b2c2ce9c
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [164, 86, 183, 163, 57, 52]
Output:
|
[
"[82, 43, 550, 490, 172, 26]"
] |
task206-037de0d91e2943a19f6d88a8723f5767
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [137, 25, 110, 77, 119, 31]
Output:
|
[
"[412, 76, 55, 232, 358, 94]"
] |
task206-3fb095c357594f10b78de63b78d7aa67
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [161, 137, 111, 27, 135]
Output:
|
[
"[484, 412, 334, 82, 406]"
] |
task206-0abe097ca6e7438ca6fd8260da8bfe8d
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [108, 115, 111, 101]
Output:
|
[
"[54, 346, 334, 304]"
] |
task206-5efd8089ff2a446b88d196544f5253ef
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [182, 187, 169, 68, 130, 9, 165]
Output:
|
[
"[91, 562, 508, 34, 65, 28, 496]"
] |
task206-fd15799c98414c99bb099f1ee397a6c6
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [155, 32]
Output:
|
[
"[466, 16]"
] |
task206-84bcd8c619a142398372e144b9a942ce
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [167, 88, 61, 79]
Output:
|
[
"[502, 44, 184, 238]"
] |
task206-cd049589218b4503b0084ba00ec33bac
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [60, 20]
Output:
|
[
"[30, 10]"
] |
task206-bd3ba559b39043d2831167df904b6aa3
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [14, 138, 186, 106, 130, 165, 69, 101]
Output:
|
[
"[7, 69, 93, 53, 65, 496, 208, 304]"
] |
task206-2a43f3ff4ccc4194ab1c956fef9a71b1
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [39, 20, 91]
Output:
|
[
"[118, 10, 274]"
] |
task206-f4b82165237441598a6d29e4c9ae4f0c
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [93, 162, 157, 29, 127, 136, 27]
Output:
|
[
"[280, 81, 472, 88, 382, 68, 82]"
] |
task206-0304311b81964df896e6dcb097831118
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [68, 39, 23]
Output:
|
[
"[34, 118, 70]"
] |
task206-b26f38296daf4754b7268ecb1b80fd4b
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [199, 189, 69, 19]
Output:
|
[
"[598, 568, 208, 58]"
] |
task206-7361334fa6244d2c9ae4578d679f6f92
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [5, 91, 133, 102, 71, 70, 137, 57]
Output:
|
[
"[16, 274, 400, 51, 214, 35, 412, 172]"
] |
task206-ddd2c7b9ccaf4feb852b872b96b461a0
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [155, 160, 157, 200, 106, 13, 101, 121, 39]
Output:
|
[
"[466, 80, 472, 100, 53, 40, 304, 364, 118]"
] |
task206-44e60608c2344459a10093e1ac30f1de
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [123, 19, 66, 21]
Output:
|
[
"[370, 58, 33, 64]"
] |
task206-42736842e97948eb8ee394a352d99e72
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [85, 50, 66, 139, 116, 156, 78, 180]
Output:
|
[
"[256, 25, 33, 418, 58, 78, 39, 90]"
] |
task206-19ae880dd65843f2b7741412c87fd528
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [130, 167, 194, 34, 1, 66, 144, 58, 173]
Output:
|
[
"[65, 502, 97, 17, 4, 33, 72, 29, 520]"
] |
task206-08593089f4454d229de0b7772e7a768a
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [126, 125, 15, 106, 75, 195, 84]
Output:
|
[
"[63, 376, 46, 53, 226, 586, 42]"
] |
task206-461608952a4e4fc49737c7515f1e0e74
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [29, 125, 39, 26, 45, 49, 150, 189]
Output:
|
[
"[88, 376, 118, 13, 136, 148, 75, 568]"
] |
task206-59273e254fc34a61b6b963244f2d963e
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [85, 53]
Output:
|
[
"[256, 160]"
] |
task206-94307aa0f6e84c02b8984d98ea5f0555
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [166, 30, 106, 90]
Output:
|
[
"[83, 15, 53, 45]"
] |
task206-69a39b026eab4c1587bc2c2fa2243549
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [61, 74, 104, 138, 172, 180, 20]
Output:
|
[
"[184, 37, 52, 69, 86, 90, 10]"
] |
task206-69faa8097c2240d79632df24c1fc23a2
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [145, 145, 115, 135, 33, 179, 9, 60]
Output:
|
[
"[436, 436, 346, 406, 100, 538, 28, 30]"
] |
task206-e4c92f1bb3f14f58b2733ece7ff0411b
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [65, 178, 133]
Output:
|
[
"[196, 89, 400]"
] |
task206-b481f13cb12b4d97baddf7d5e8b38468
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [86, 92, 28]
Output:
|
[
"[43, 46, 14]"
] |
task206-dfe101e763ad4889af1c0cef5f507c81
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [163, 22, 56, 113, 23, 143]
Output:
|
[
"[490, 11, 28, 340, 70, 430]"
] |
task206-11de595a576a4125a3eae19a970401e9
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [122, 106]
Output:
|
[
"[61, 53]"
] |
task206-e17262f64c0448ff8f964c46c12c9ab0
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [94, 69, 78, 65]
Output:
|
[
"[47, 208, 39, 196]"
] |
task206-96e7084a93294c9bb89a568caec7ea5a
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [94, 27, 142, 2, 136, 196, 128, 155]
Output:
|
[
"[47, 82, 71, 1, 68, 98, 64, 466]"
] |
task206-5bcd52b80fdd431389c3eb4d64c3cf45
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [46, 148, 25, 55, 30]
Output:
|
[
"[23, 74, 76, 166, 15]"
] |
task206-dd5846607af446618d2efd2702022125
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [175, 185, 62]
Output:
|
[
"[526, 556, 31]"
] |
task206-2f4231c49c2f43a69e969229ad6ba8c5
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [28, 68, 47, 194]
Output:
|
[
"[14, 34, 142, 97]"
] |
task206-fb60ccdaca5d452c9671c14b58670763
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [171, 50, 29, 114, 119, 87]
Output:
|
[
"[514, 25, 88, 57, 358, 262]"
] |
task206-653d165f27f44e7091521d327de78819
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [36, 183, 142, 48, 200, 116, 21, 110]
Output:
|
[
"[18, 550, 71, 24, 100, 58, 64, 55]"
] |
task206-4f54d3bd2c804fd99122a2aa1eb522e4
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [82, 48, 195, 189, 47, 104]
Output:
|
[
"[41, 24, 586, 568, 142, 52]"
] |
task206-8db5b56ee24a49ae8a294b36e7a6f4d2
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [188, 72, 186, 130, 172]
Output:
|
[
"[94, 36, 93, 65, 86]"
] |
task206-c5c67a047cb94149ac096bf97c4a0886
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [6, 82, 32, 40]
Output:
|
[
"[3, 41, 16, 20]"
] |
task206-3ffb6ad87ea84c70a6f18527df6f9773
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [59, 183]
Output:
|
[
"[178, 550]"
] |
task206-818023737c634370b8efe396e28333c1
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [1, 33, 73, 14, 166]
Output:
|
[
"[4, 100, 220, 7, 83]"
] |
task206-87e081560a8d48b3b2cb8e567415c5f1
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [20, 26, 132]
Output:
|
[
"[10, 13, 66]"
] |
task206-fe583d93d60c42a69f9f2cf019e522cc
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [197, 127, 24, 55, 153, 172, 97]
Output:
|
[
"[592, 382, 12, 166, 460, 86, 292]"
] |
task206-b45a50d032a54460a038bd5df83381b1
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [49, 89, 135, 193, 51, 102, 116, 169]
Output:
|
[
"[148, 268, 406, 580, 154, 51, 58, 508]"
] |
task206-bbc52c7ffa374e488a78524c6abc6aef
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [11, 100, 115]
Output:
|
[
"[34, 50, 346]"
] |
task206-ce890497c85e4138aba45d2bad304db5
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [95, 107]
Output:
|
[
"[286, 322]"
] |
task206-36f07a3f651b4040b868f1dc3ec3f5a9
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [39, 43, 81]
Output:
|
[
"[118, 130, 244]"
] |
task206-9ce7b06ad3e943cfb7a314daaefb774e
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [127, 107, 113, 32]
Output:
|
[
"[382, 322, 340, 16]"
] |
task206-acabef48e58a4113b6e76880e3457487
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [154, 61, 91, 74]
Output:
|
[
"[77, 184, 274, 37]"
] |
task206-2418ea14d72f49af893306cd738d9924
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [19, 138, 174, 200]
Output:
|
[
"[58, 69, 87, 100]"
] |
task206-d42ae571f8a246e698aa4c2c749aafc1
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [112, 179, 123, 109, 70, 28, 129]
Output:
|
[
"[56, 538, 370, 328, 35, 14, 388]"
] |
task206-7995cd4bd9ed4531b8d67962bb0a0925
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [77, 74, 169, 38]
Output:
|
[
"[232, 37, 508, 19]"
] |
task206-df900245d89b49d980115cdb4584e542
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [122, 78, 31, 158, 82, 118, 41, 122, 138]
Output:
|
[
"[61, 39, 94, 79, 41, 59, 124, 61, 69]"
] |
task206-b8a5ea271e954cde88ee59e4de47ad9a
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [13, 193, 58]
Output:
|
[
"[40, 580, 29]"
] |
task206-315d15bccef8479dab9c606e2c551f81
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [190, 141, 24, 144, 30, 102, 19]
Output:
|
[
"[95, 424, 12, 72, 15, 51, 58]"
] |
task206-83d324d1ad2b417e9e1deee49f043ad6
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [156, 94, 137, 95, 155, 1]
Output:
|
[
"[78, 47, 412, 286, 466, 4]"
] |
task206-01dbe3c648a94db5975ce3815da19d52
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [162, 140, 58, 88, 97, 167, 138]
Output:
|
[
"[81, 70, 29, 44, 292, 502, 69]"
] |
task206-817a6cbe48574b3da47f6dc81b2039e2
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [191, 54, 49, 112, 190, 22]
Output:
|
[
"[574, 27, 148, 56, 95, 11]"
] |
task206-d69d46e9d3f24dda8ae3bc096854e2cb
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [112, 118, 167, 97, 175, 46, 178, 83]
Output:
|
[
"[56, 59, 502, 292, 526, 23, 89, 250]"
] |
task206-d7c7188cce2f4c1db1d9a22fd359c205
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [80, 71, 35, 143, 145, 13, 104, 113, 36]
Output:
|
[
"[40, 214, 106, 430, 436, 40, 52, 340, 18]"
] |
task206-58e953e6071641ea9387fe3ab6ca1955
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [8, 88]
Output:
|
[
"[4, 44]"
] |
task206-da3bb6815c124699995e09eae5659ef0
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [15, 177, 150, 94, 182, 120]
Output:
|
[
"[46, 532, 75, 47, 91, 60]"
] |
task206-078b8f475ed6466ab2f83df815992e41
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [31, 154, 42, 67, 127, 129, 122]
Output:
|
[
"[94, 77, 21, 202, 382, 388, 61]"
] |
task206-07c2e9cb39d74c8eacd714f2fd464da4
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [22, 56, 29, 190]
Output:
|
[
"[11, 28, 88, 95]"
] |
task206-7cae78ff152d4378a41f73ea28482ca4
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [135, 174, 116, 61, 179, 53]
Output:
|
[
"[406, 87, 58, 184, 538, 160]"
] |
task206-1822707e50344bae8f413b1b8c17345f
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [20, 40, 63, 142, 84, 125]
Output:
|
[
"[10, 20, 190, 71, 42, 376]"
] |
task206-7ffcc6be6da844b58fdc84bacfe3899a
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [10, 171, 171, 176, 129, 161, 179, 92]
Output:
|
[
"[5, 514, 514, 88, 388, 484, 538, 46]"
] |
task206-12a1910ef86c46b2b3676975ad760021
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [51, 93, 162, 47, 20, 98, 38]
Output:
|
[
"[154, 280, 81, 142, 10, 49, 19]"
] |
task206-f6c0a01457664215a69bb5de809112d6
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [51, 190, 32, 87]
Output:
|
[
"[154, 95, 16, 262]"
] |
task206-f10a7034956240b99a44693b33ed881c
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [77, 30, 112]
Output:
|
[
"[232, 15, 56]"
] |
task206-6060871a646a43e480109ab6e53bed31
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [29, 181, 2, 23, 4, 56]
Output:
|
[
"[88, 544, 1, 70, 2, 28]"
] |
task206-a979e9c7b55a4734ba849dd95288ea5b
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [157, 129]
Output:
|
[
"[472, 388]"
] |
task206-7193457a676b43dabdd522d263d7066a
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [1, 47, 160, 95, 85]
Output:
|
[
"[4, 142, 80, 286, 256]"
] |
task206-3814e6b639974fa8b331227c1dd92557
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [45, 58, 96, 85, 30, 12, 99, 34]
Output:
|
[
"[136, 29, 48, 256, 15, 6, 298, 17]"
] |
task206-c22eca539a31440dab5b4694a56898e5
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [135, 174, 103, 37, 131]
Output:
|
[
"[406, 87, 310, 112, 394]"
] |
task206-426d61655dc34e7093620c7b51aa71c8
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [69, 112, 126, 167]
Output:
|
[
"[208, 56, 63, 502]"
] |
task206-c164217f86a84e9081b60d46238cbfa4
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [7, 115, 60, 132, 3, 108, 28, 198]
Output:
|
[
"[22, 346, 30, 66, 10, 54, 14, 99]"
] |
task206-857882bfcb6b4ee1986f41352d4ed405
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [159, 36, 14, 163, 26]
Output:
|
[
"[478, 18, 7, 490, 13]"
] |
task206-d6fca8557c264e1c91d09002abb9c4c0
|
Definition: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
Positive Example 1 -
Input: [7, 9, 2, 8]
Output: [22, 28, 1, 4]
Positive Example 2 -
Input: [3, 4, 5, 6, 7]
Output: [10, 2, 16, 3, 22]
Negative Example 1 -
Input: [4, 10, 5, 11]
Output: [4, 10, 5, 11, 2, 5, 16, 34]
Negative Example 2 -
Input: [3, 9, 4, 1, 2]
Output: [1.5, 4.5, 13, 0.5, 7]
Now complete the following example -
Input: [73, 101, 179, 40, 141, 99, 46, 17]
Output:
|
[
"[220, 304, 538, 20, 424, 298, 23, 52]"
] |
task206-dc99bc2fc0f14c6db34414269df0eb4f
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.