Problem: A line on the plane is described by an equation Ax + By + C = 0. You are to find any point on this line, whose coordinates are integer numbers from  - 5·1018 to 5·1018 inclusive, or to find out that such points do not exist.

Input

The first line contains three integers A, B and C ( - 2·109 ≤ A, B, C ≤ 2·109) — corresponding coefficients of the line equation. It is guaranteed that A2 + B2 > 0.

Output

If the required point exists, output its coordinates, otherwise output -1.

Examples

Input

2 5 3


Output

6 -3

Solution (in JAVA):

Solution:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class CF7C {

    public static void main(String[] args) {
        int a = IN.nextInt(), b = IN.nextInt(), c = -IN.nextInt();
        solve(a, b, c);
    }

    private static void solve(int a, int b, int c) {
        long x[] = new long[1], y[] = new long[1];
        long gcd = extGcd(a, b, x, y);
        if (c % gcd != 0) {
            System.out.println("-1");
        } else {
            long x1 = c / gcd * x[0];
            long y1 = c / gcd * y[0];
            System.out.println(x1 + " " + y1);
        }
    }

    private static long extGcd(long a, long b, long x[], long y[]) {
        if (b == 0) {
            x[0] = 1;
            y[0] = 0;
            return a;
        } else {
            long ret = extGcd(b, a % b, x, y);
            long tmp = x[0];
            x[0] = y[0];
            y[0] = tmp - (a / b) * y[0];
            return ret;
        }
    }

    static final class IN {

        private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        private static StringTokenizer st = null;

        public static String readLine() throws IOException {
            return br.readLine();
        }

        public static String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (Exception e) {
                    break;
                }
            }
            return st.nextToken();
        }

        public static int nextInt() {
            return Integer.valueOf(next());
        }

        public static long nextLong() {
            return Long.valueOf(next());
        }

        public static void close() {
            try {
                br.close();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
}