Being a nostalgic boy, nocriz loves watching HBK08 and Lantian28 playing the game Command and Conquer: Red Alert 2. However, he doesn't know how to play the game himself.
In the game, you own a sniper initially located at $(-10^{100},-10^{100},-10^{100})$ in a 3D world, and there are $n$ enemy soldiers where the $i$-th soldier is located at $(x_i,y_i,z_i)$. We say the range of the sniper to be $k$, if the sniper can kill all enemies such that $\max(|x_s-x_e|,|y_s-y_e|,|z_s-z_e|) \le k$, where $(x_s,y_s,z_s)$ is the location of the sniper and $(x_e,y_e,z_e)$ is the location of the enemy.
If it is only possible to move the sniper from $(x,y,z)$ to $(x+1,y,z)$, $(x,y+1,z)$ or $(x,y,z+1)$, what is the minimum $k$ such that the sniper can kill all enemies?
The sniper is allowed to move unlimited number of steps, and is allowed to kill enemies whenever he is on an integer coordinate.