Dinesh Goyal's submission of Waiting in Queue | CodeChef