Nikolay Domashenko's submission of Waiting Time | CodeChef