Anders Kaseorg's submission of Fencing | CodeChef