Fractions: n-th term of the sequence#9427

Fractions: n-th term of the sequence

1 second
128 megabytes
Very easy

Arithmetic progression is given with the first term and difference . Find the -th term of the sequence.

Input

Two fractions , and number . All numbers are positive integers no more than 10^6.

Output

Print the -th term of arithmetic progression in the form of irreducible fraction.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading