SP32724 THREENUMBERS - nth number
Description
Given two numbers a and b, you have to find n-th number which is divisible by a or b.
Input Format
First line contains an integer T (
Output Format
Print n-th number in a new line.