A rectangle of size \(199\times991\) is drawn on squared paper. How many squares intersect the diagonal of the rectangle?