Vivek Gupta's submission of Billiards | CodeChef