Just Add It
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
For two given integers and find
where
Input
There are several test cases. Each case is a separate line that contains two positive integers and . The last line contains two zeros and should not be processed.
Output
For each test case print the required value in a separate line.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 43%