David's submission of Dividing Sequences | CodeChef