The 100 soldiers problem

 
X