input
stringlengths 666
703
| output
sequencelengths 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: [160, 53, 111, 66, 130, 31, 185]
Output:
| [
"[80, 160, 334, 33, 65, 94, 556]"
] | task206-1a0f2a0e3d324117afbe29fc5832efef |
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: [133, 133, 141, 51]
Output:
| [
"[400, 400, 424, 154]"
] | task206-44e1c0f0da7349ce92cbcc39109b6700 |
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: [120, 164, 99, 93]
Output:
| [
"[60, 82, 298, 280]"
] | task206-d5e867976a374dff8e7428a4964f5357 |
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, 70]
Output:
| [
"[49, 35]"
] | task206-f3a955ca41eb48d98b3c06b427da69e8 |
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: [151, 39, 134, 11, 141, 121, 40, 25, 26]
Output:
| [
"[454, 118, 67, 34, 424, 364, 20, 76, 13]"
] | task206-1508de5b8ce842409e14549584ed558b |
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, 148, 75, 126, 195, 23, 186, 131]
Output:
| [
"[598, 74, 226, 63, 586, 70, 93, 394]"
] | task206-f5610da48322423ba129dc6cb102e1d4 |
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, 37, 99]
Output:
| [
"[81, 112, 298]"
] | task206-bc16b1982e174fca8661dc306cc781d6 |
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, 117, 107, 71, 20, 61]
Output:
| [
"[47, 352, 322, 214, 10, 184]"
] | task206-63e4c17642c846039c13f8b380e1e00d |
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: [121, 146, 126, 114, 26, 116]
Output:
| [
"[364, 73, 63, 57, 13, 58]"
] | task206-8ec1ba95d7f040dcbabd230f20272b09 |
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: [76, 164, 120, 28, 146, 79, 138, 189, 123]
Output:
| [
"[38, 82, 60, 14, 73, 238, 69, 568, 370]"
] | task206-070ee4a9b3034bcab243f39c78c6bc28 |
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, 181, 28, 14, 1, 163, 164, 67, 154]
Output:
| [
"[78, 544, 14, 7, 4, 490, 82, 202, 77]"
] | task206-102d95f7f6b443caa8839be510eba644 |
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, 120]
Output:
| [
"[526, 60]"
] | task206-386e1f05bf4944149fc32f260e45900f |
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: [47, 92]
Output:
| [
"[142, 46]"
] | task206-e23d38c21eb54c15a7b0761b34ee7f16 |
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: [174, 94, 174, 19]
Output:
| [
"[87, 47, 87, 58]"
] | task206-019b7eae4d504b019f4ecd28608a2246 |
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, 180, 72, 152, 149, 141, 131]
Output:
| [
"[67, 90, 36, 76, 448, 424, 394]"
] | task206-f2f6bc4c445d4924a8e1e830e51b33c9 |
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, 134, 23, 20, 136, 168, 91, 55, 129]
Output:
| [
"[208, 67, 70, 10, 68, 84, 274, 166, 388]"
] | task206-ea24e64b019c4cae86bd0798a958c6f0 |
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: [17, 171, 15, 192, 126, 75, 54, 70]
Output:
| [
"[52, 514, 46, 96, 63, 226, 27, 35]"
] | task206-3c05771df082432f9a4df3541300f650 |
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, 166, 2, 31, 83, 63, 97, 32]
Output:
| [
"[95, 83, 1, 94, 250, 190, 292, 16]"
] | task206-55ab995f0bf241f281324dab5bd96339 |
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: [119, 72, 30, 160, 170]
Output:
| [
"[358, 36, 15, 80, 85]"
] | task206-552002e7c5ee43db8db6c928424a19e7 |
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: [3, 13, 45, 177, 20, 4, 116]
Output:
| [
"[10, 40, 136, 532, 10, 2, 58]"
] | task206-162d5119f64448b081384f3817580cc5 |
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: [55, 44, 128, 137, 136, 129, 194, 157]
Output:
| [
"[166, 22, 64, 412, 68, 388, 97, 472]"
] | task206-38b0879d7c294d039603c11d3ed11a48 |
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: [128, 23, 143, 53, 2, 110, 108, 45, 48]
Output:
| [
"[64, 70, 430, 160, 1, 55, 54, 136, 24]"
] | task206-8c075d667353428f998f4b3542bff722 |
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: [43, 110, 194, 77, 171, 99, 157]
Output:
| [
"[130, 55, 97, 232, 514, 298, 472]"
] | task206-37e309aec66e4a7188eb52ced1fddf41 |
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, 63, 136, 11]
Output:
| [
"[436, 190, 68, 34]"
] | task206-784a018e383a4cda9e87c6f68c486cf1 |
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, 35, 82, 163]
Output:
| [
"[30, 106, 41, 490]"
] | task206-7787f0d93bf9473fb7fc462f82dfa9f3 |
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, 196, 72, 73, 97, 109, 8, 137]
Output:
| [
"[406, 98, 36, 220, 292, 328, 4, 412]"
] | task206-d24b7f088bbb490cacffb22ac1c0cd24 |
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: [179, 146, 23, 163, 36]
Output:
| [
"[538, 73, 70, 490, 18]"
] | task206-334ca3bf9abf44daa96c8a699392784c |
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, 165, 126, 128, 40, 51, 59, 25]
Output:
| [
"[526, 496, 63, 64, 20, 154, 178, 76]"
] | task206-86c27183f0674b378df97541c3566f3b |
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, 102, 40, 25, 20, 6, 75, 33]
Output:
| [
"[41, 51, 20, 76, 10, 3, 226, 100]"
] | task206-69c3660200b3464bb2ecb9854c813472 |
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: [200, 120]
Output:
| [
"[100, 60]"
] | task206-c9a6f01ccec24d2cbbe460885e1909ea |
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, 12, 77, 33, 15, 93]
Output:
| [
"[34, 6, 232, 100, 46, 280]"
] | task206-8ee07470455d44e98112aa366271af1e |
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, 69]
Output:
| [
"[514, 208]"
] | task206-e2ede2b3406b41a7b835f89f744f21f0 |
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, 119]
Output:
| [
"[59, 358]"
] | task206-9dfd5616861845c1988bb43f736f2df8 |
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: [76, 76, 74, 23, 137, 9]
Output:
| [
"[38, 38, 37, 70, 412, 28]"
] | task206-9ae6471fc7ce43f89972e88e6e6dfa4e |
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: [56, 75, 85, 124, 75, 125]
Output:
| [
"[28, 226, 256, 62, 226, 376]"
] | task206-937ea73cdd5047b6b0ad7bd0abd65519 |
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: [195, 26, 186]
Output:
| [
"[586, 13, 93]"
] | task206-cff7a706dc8546d68cb903116d4df016 |
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: [104, 71, 109, 67, 20, 7]
Output:
| [
"[52, 214, 328, 202, 10, 22]"
] | task206-81ec9589c2e34f51bd02e5e5f282eb0c |
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: [79, 184, 120, 118, 173, 104, 183, 52]
Output:
| [
"[238, 92, 60, 59, 520, 52, 550, 26]"
] | task206-4d60b708185142b6a9601c925e720773 |
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: [128, 78, 27]
Output:
| [
"[64, 39, 82]"
] | task206-9d8a4a197c6f426f99ca63a078d48dac |
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: [48, 68, 117]
Output:
| [
"[24, 34, 352]"
] | task206-b63f4d68db3342a59fd311bc0a8a0191 |
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: [56, 47, 30, 195, 54, 111, 46, 139]
Output:
| [
"[28, 142, 15, 586, 27, 334, 23, 418]"
] | task206-fd6637730eb94504ab7b0911df838154 |
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: [177, 170, 142, 189, 43, 158, 155, 65, 32]
Output:
| [
"[532, 85, 71, 568, 130, 79, 466, 196, 16]"
] | task206-73890c29c43b47aa925a762efab7de8b |
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: [55, 91, 157, 186]
Output:
| [
"[166, 274, 472, 93]"
] | task206-e9c19a8b485c459592688d3e837b32a1 |
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, 173, 93, 89, 114]
Output:
| [
"[256, 520, 280, 268, 57]"
] | task206-08633a07d9ca40d5aba8e74b422dcbaa |
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, 53, 171, 106, 13]
Output:
| [
"[370, 160, 514, 53, 40]"
] | task206-0498ab406a6f4d55904e9150d56a5580 |
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: [44, 42, 157, 137, 176, 155, 123, 199, 155]
Output:
| [
"[22, 21, 472, 412, 88, 466, 370, 598, 466]"
] | task206-a1d096439437414c8a67738492bb22cc |
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: [140, 24, 168, 40, 119]
Output:
| [
"[70, 12, 84, 20, 358]"
] | task206-1964947686374dd99a761b8e250cf677 |
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, 133, 16, 190, 18, 178, 99, 91]
Output:
| [
"[256, 400, 8, 95, 9, 89, 298, 274]"
] | task206-0fadd995ca2148c6835f05be9e5612cd |
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, 7, 179, 155, 62, 56, 2]
Output:
| [
"[220, 22, 538, 466, 31, 28, 1]"
] | task206-b89ac4296e2246ed8d9ba4abc26c6145 |
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, 149, 114, 157, 71]
Output:
| [
"[49, 448, 57, 472, 214]"
] | task206-2cc814df5ce44dff97c23eac667cfb13 |
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, 139, 141, 18, 96, 111, 126]
Output:
| [
"[94, 418, 424, 9, 48, 334, 63]"
] | task206-ce0d892aab244295a035af6f8f37a352 |
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, 109, 22, 99]
Output:
| [
"[10, 328, 11, 298]"
] | task206-5e1b19278ffb4c599340636fa6405456 |
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: [128, 9, 197, 77, 194, 25, 86, 121, 168]
Output:
| [
"[64, 28, 592, 232, 97, 76, 43, 364, 84]"
] | task206-6300ba275b794bae9ae92f5b009c74d2 |
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, 10, 92, 182, 93]
Output:
| [
"[56, 5, 46, 91, 280]"
] | task206-8ec50f81d39a4f549a7a6ac4618529f9 |
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, 75, 136, 86]
Output:
| [
"[598, 226, 68, 43]"
] | task206-1d1972010a414e99a02713d394da0f66 |
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: [200, 67, 51, 103, 5, 118, 174]
Output:
| [
"[100, 202, 154, 310, 16, 59, 87]"
] | task206-f0908002d493478d898325494a3d468e |
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, 186, 61]
Output:
| [
"[472, 93, 184]"
] | task206-dd9b46f6dac0427dabc1f6d1891c179a |
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: [53, 166, 19, 142, 196, 32, 146, 105, 113]
Output:
| [
"[160, 83, 58, 71, 98, 16, 73, 316, 340]"
] | task206-883bc85cb1bf412f86041de41e53ad5e |
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, 60, 103, 100, 79, 162, 124]
Output:
| [
"[424, 30, 310, 50, 238, 81, 62]"
] | task206-53e2d88345e54c7cb734352dfde5bc74 |
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, 106, 119, 106, 67]
Output:
| [
"[63, 53, 358, 53, 202]"
] | task206-9f37410f26834039873fdb3f7c303014 |
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: [97, 98, 128]
Output:
| [
"[292, 49, 64]"
] | task206-4ca0d3b527f74487bf79f9c4ccef1c42 |
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, 30, 144, 11, 55, 188]
Output:
| [
"[208, 15, 72, 34, 166, 94]"
] | task206-9f98890c33c64d35a299c6f9c4225fdb |
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: [89, 77, 101]
Output:
| [
"[268, 232, 304]"
] | task206-bc2cc8cbd9994c84bbf9a460f6efcc80 |
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, 19, 16, 181]
Output:
| [
"[67, 58, 8, 544]"
] | task206-50187e46b2df4aefab6c47d6ba7a6bd6 |
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, 23]
Output:
| [
"[220, 70]"
] | task206-1695f95786774c81b1d90ce4704b3f35 |
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: [55, 35, 48, 133]
Output:
| [
"[166, 106, 24, 400]"
] | task206-47f9cdcd588c4589a8ed2b5c96462005 |
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: [78, 48, 44, 186]
Output:
| [
"[39, 24, 22, 93]"
] | task206-6d2db726e23a411f9d7b7eb8a4ab934d |
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: [63, 128, 90]
Output:
| [
"[190, 64, 45]"
] | task206-6c30401b9a074de9b764504d4a779ccc |
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: [129, 113, 147, 197, 66]
Output:
| [
"[388, 340, 442, 592, 33]"
] | task206-f8e33922db0345578ab2246f6145e311 |
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: [174, 106, 101, 51]
Output:
| [
"[87, 53, 304, 154]"
] | task206-aaeca72bd1ae41da8848ea8fd7307ab8 |
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: [23, 49, 185, 126, 10, 3, 29, 187]
Output:
| [
"[70, 148, 556, 63, 5, 10, 88, 562]"
] | task206-a4f58a398ab54078882d13fa3a982bc5 |
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: [181, 187, 184, 129, 136, 163, 134, 46]
Output:
| [
"[544, 562, 92, 388, 68, 490, 67, 23]"
] | task206-7e7fb43e56b74562b36358025ed2e270 |
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: [32, 172, 184, 10]
Output:
| [
"[16, 86, 92, 5]"
] | task206-f2210cc8502f49fc95263645dbacaa09 |
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, 104, 199, 141]
Output:
| [
"[136, 52, 598, 424]"
] | task206-ea810d77ed6c4795bb6613cc65c134b9 |
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, 106, 74, 169]
Output:
| [
"[280, 53, 37, 508]"
] | task206-c6e0a40554a841f39c34b0b660895247 |
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: [109, 16, 21, 87, 32, 93, 40, 91]
Output:
| [
"[328, 8, 64, 262, 16, 280, 20, 274]"
] | task206-ebc65f6b4e5540b58c3580924ea8f169 |
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: [74, 99, 22, 55, 188, 18, 84]
Output:
| [
"[37, 298, 11, 166, 94, 9, 42]"
] | task206-a9f265e0601943cf8a40496851295a02 |
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: [111, 66, 3, 111, 195, 67]
Output:
| [
"[334, 33, 10, 334, 586, 202]"
] | task206-1077381080f54409b629a22c022477c1 |
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, 167, 23, 167, 196, 143, 175, 139, 26]
Output:
| [
"[40, 502, 70, 502, 98, 430, 526, 418, 13]"
] | task206-17467df2fc624a438256e4fdf120fe69 |
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: [90, 115, 175, 22, 1, 21, 55, 84, 193]
Output:
| [
"[45, 346, 526, 11, 4, 64, 166, 42, 580]"
] | task206-362ebffed06c48709fd43a9c75598431 |
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: [186, 164, 183, 41, 134, 111, 164, 118]
Output:
| [
"[93, 82, 550, 124, 67, 334, 82, 59]"
] | task206-c29528cd1eec4451b0cfaacb849a83a2 |
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, 80, 54, 140, 200, 62]
Output:
| [
"[40, 40, 27, 70, 100, 31]"
] | task206-d8bf8d60356542c1b64ddc8cfb1faadc |
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: [149, 8, 87, 156, 37, 6, 156, 86, 136]
Output:
| [
"[448, 4, 262, 78, 112, 3, 78, 43, 68]"
] | task206-7de95bd1d8fb46c3b72d5928e6673cca |
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: [158, 148, 19, 23, 96, 50]
Output:
| [
"[79, 74, 58, 70, 48, 25]"
] | task206-886b35eae52740e5a4e51b5b1ba0ba10 |
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, 136, 18, 188, 135, 88, 54]
Output:
| [
"[184, 68, 9, 94, 406, 44, 27]"
] | task206-838633934dbd4999902aaf0742b8ef13 |
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, 141, 27, 110, 41, 126, 170, 188, 67]
Output:
| [
"[86, 424, 82, 55, 124, 63, 85, 94, 202]"
] | task206-1f6ad796fff445c09e5c4591750cdc9a |
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: [84, 25, 53, 127, 71, 158, 34]
Output:
| [
"[42, 76, 160, 382, 214, 79, 17]"
] | task206-9cbaa0c0403d4eec84144890f5f6acb6 |
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, 191, 19, 165, 17, 169, 164]
Output:
| [
"[232, 574, 58, 496, 52, 508, 82]"
] | task206-3b44c1f26e46454fac92e1ad21b002cb |
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, 109, 191, 63, 124, 95]
Output:
| [
"[148, 328, 574, 190, 62, 286]"
] | task206-7a8efe78741c45cc85e6ebe818606388 |
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: [170, 40, 119, 129, 96, 104]
Output:
| [
"[85, 20, 358, 388, 48, 52]"
] | task206-d09ebc765c7044ecaaf755d7ae31812a |
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: [21, 5, 118, 105, 151, 52, 192, 124]
Output:
| [
"[64, 16, 59, 316, 454, 26, 96, 62]"
] | task206-8881ce92095444b79fbb48ad0b5d14d6 |
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: [66, 3]
Output:
| [
"[33, 10]"
] | task206-cc83a6b2ab414637af0caefb5ba2ecb8 |
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: [9, 196, 91, 136, 2, 20, 195, 164, 176]
Output:
| [
"[28, 98, 274, 68, 1, 10, 586, 82, 88]"
] | task206-8736c949cfff42c68efb4522ed0b0c0d |
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, 186]
Output:
| [
"[14, 93]"
] | task206-bc73a2d0522c442ebf479b161dbda098 |
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, 47, 156, 24]
Output:
| [
"[502, 142, 78, 12]"
] | task206-7e36456740d3492cba87b14ee58a4139 |
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: [40, 110]
Output:
| [
"[20, 55]"
] | task206-be282932d8584391b0bd814c7eebe0f5 |
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: [174, 34, 144, 149]
Output:
| [
"[87, 17, 72, 448]"
] | task206-c0feb1e1572d4dc69f9df60702f9570d |
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: [196, 74, 48, 47, 190, 72, 89]
Output:
| [
"[98, 37, 24, 142, 95, 36, 268]"
] | task206-5a8ea9e9486141589849509046a6ffb5 |
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, 120, 134, 158, 156, 184, 92, 182]
Output:
| [
"[34, 60, 67, 79, 78, 92, 46, 91]"
] | task206-2521cf68017043b7b07a22ac377f8881 |
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: [142, 139, 128, 13, 71, 45, 151, 4, 158]
Output:
| [
"[71, 418, 64, 40, 214, 136, 454, 2, 79]"
] | task206-21c16a35fb7042b8aad7f110efd936a0 |