apple pie's submission of Adjacency Love | CodeChef