Niyaz Nigmatullin's submission of Sherlock and Subtrees | CodeChef