## arrInputList = [-2, -1, 0, 3, 4] ## Example 1 arrInputList = [5, -4, -1, 3, 6] ## Example 2 arrOutputList = sorted([nElem * nElem for nElem in arrInputList]) print (arrOutputList)