안녕 (an-nyeong)  also means goodbye. So you can greet and say goodbye with one word!