Detailed Instructions: In this task you will be given a list of integers. For every element in the list, if the element is positive you should multiply it by 2.  If the element is negative you should multiply it by -3. The output should be a list of integers that is the result of applying that logic to the input list.
 Note: A list is presented with comma separated numbers inside two brackets.
See one example below:
Problem: [-7, -1, 8, 7, -8]
Solution: [21, 3, 16, 14, 24]
Explanation: Every negative number is multiplied by -3 and every positive number is multiplied by 2. So this is a good example.

Problem: [27, 31, 76]
Solution:
[54, 62, 152]
Detailed Instructions: In this task you will be given a list of integers. For every element in the list, if the element is positive you should multiply it by 2.  If the element is negative you should multiply it by -3. The output should be a list of integers that is the result of applying that logic to the input list.
 Note: A list is presented with comma separated numbers inside two brackets.
See one example below:
Problem: [-7, -1, 8, 7, -8]
Solution: [21, 3, 16, 14, 24]
Explanation: Every negative number is multiplied by -3 and every positive number is multiplied by 2. So this is a good example.

Problem: [27, 31, 76]
Solution:
user
[54, 62, 152]
assistant
Detailed Instructions: In this task you will be given a list of integers. For every element in the list, if the element is positive you should multiply it by 2.  If the element is negative you should multiply it by -3. The output should be a list of integers that is the result of applying that logic to the input list.
 Note: A list is presented with comma separated numbers inside two brackets.
See one example below:
Problem: [-7, -1, 8, 7, -8]
Solution: [21, 3, 16, 14, 24]
Explanation: Every negative number is multiplied by -3 and every positive number is multiplied by 2. So this is a good example.

Problem: [27, 31, 76]
Solution:
[54, 62, 152]