Description
Given two positive integers x and y, what is the largest positive integer within 1000 that is neither a multiple of x nor a multiple of y?
Input Format
Two integers x and y (2≤x,y≤1000).
Output Format
A positive integer representing the answer.
Sample
2 3
997