Solve for a.

a+(−5)=−12
What is the answer?
1.) a = -17
2.) a = -7
3.) a = 7
4.) a = 17

I personally think its
2.) a = -7
but I just want to make sure I am correct :)