Chessboard Billiard

Problem Name:
Chessboard Billiard
Site:CodeForces
Links:
Tags:
Problem setters: