Elementary and Intermediate Algebra: Concepts & Applications (6th Edition)

$-22$
The expression $a-(-b)$ simplifies to $a+b.$ The expression $a+(-b)$ simplifies to $a-b.$ Hence, the given expression, $22-(-18)+7+(-42)-27 ,$ simplifies to \begin{array}{l}\require{cancel} 22-(-18)+7+(-42)-27 \\\\= 22+18+7-42-27 \\\\= 40+7-42-27 \\\\= 47-42-27 \\\\= 5-27 \\\\= -22 .\end{array}