John is a manager of a CPU chip factory, the factory produces lots of chips everyday. To manage large amounts of products, every processor has a serial number. More specifically, the factory produces $n$ chips today, the $i$-th chip produced this day has a serial number $s_i$.
At the end of the day, he packages all the chips produced this day, and send it to wholesalers. More specially, he writes a checksum number on the package, this checksum is defined as below:
$$\max_{i,j,k} (s_i+s_j) \oplus s_k$$
which $i,j,k$ are three different integers between $1$ and $n$. And $\oplus$ is symbol of bitwise XOR.
Can you help John calculate the checksum number of today?