A card game like the following is popular at a certain school.
Sanggeun and Geunsang face off in this game. The game starts on Sanggeun's turn, and the two players have agreed to always play the smallest-numbered card among those they are allowed to play. Given the cards dealt to each player, write a program that outputs the scores of Sanggeun and Geunsang.
The first line contains $n$. ($1 \le n \le 100$)
Each of the next $n$ lines contains one number printed on a card dealt to Sanggeun. Every card from $1$ to $2n$ that Sanggeun did not receive is dealt to Geunsang.
Print Sanggeun's score on the first line and Geunsang's score on the second line.