A rectangle of size 199×991 is drawn on squared paper. How many squares intersect the diagonal of the rectangle?