IntermediateRating 1300
The One Not Tripled
Every value appears exactly three times except one value, which appears once. Print it.
Input
n, then n integers.
Output
One integer.
Sample 1
Input
4 2 2 3 2
Output
3
Sample 2
Input
7 0 1 0 1 0 1 99
Output
99
Output appears here