Let a number r, r%d1=r1, r%d2=r2, ..., r%dn=rn. Find the smallest possible value of r if r is a positive integer. See inside, and edit the project's list data to get the result right-down corner.