Ivan's submission of Range AND | CodeChef