Given two integers a and b. Find the n-th positive integer that is divisible by either a or b.
Three integers a,b and n (a,b,n≤109).
Print the n-th positive integer divisible by either a or b. It is known that the answer is no more than 109.