Arithmetic progression is given with the first term a / b and difference p / q. Find the n-th term of the sequence.
Two fractions a / b, p / q and number n. All numbers are positive integers no more than 10^6
.
Print the n-th term of arithmetic progression in the form of irreducible fraction.