#ENGLISHP22. Indeterminate Equation

Indeterminate Equation

Description

Given A, B and C. Find X and Y so that A times X plus B times Y equals to C.

Input Format

Three positive integer A, B, C (A, B, C <= 100).

Output Format

Two integers X and Y.

4 7 10
-1 2