#include <bits/stdc++.h>
using namespace std;
mt19937_64 mt_rnd_64(chrono::steady_clock::now().time_since_epoch().count());
long long rnd(long long l, long long r) {
  return (mt_rnd_64() % (r - l + 1)) + l;
}
using ll = long long;
using ld = long double;
using ull = unsigned long long;
const double PI = acos(-1.0);
const ll mod = 1e9 + 9;
const ll INF = 1e9;
ll gcd(ll a, ll b, ll &x, ll &y) {
  if (a == 0) {
    x = 0;
    y = 1;
    return b;
  }
  ll g = gcd((b % a), a, x, y);
  ll x1 = y - x * (b / a);
  ll y1 = x;
  x = x1;
  y = y1;
  return g;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie();
  ll a, b, c;
  cin >> a >> b >> c;
  ll x, y, g = gcd(a, b, x, y);
  if (c % g) {
    cout << -1 << endl;
    return 0;
  }
  c *= -1;
  cout << x * (c / g) << " " << y * (c / g) << endl;
}

### Prompt

Please create a solution in Cpp to the following 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

### Response

```cpp
#include <bits/stdc++.h>
using namespace std;
mt19937_64 mt_rnd_64(chrono::steady_clock::now().time_since_epoch().count());
long long rnd(long long l, long long r) {
  return (mt_rnd_64() % (r - l + 1)) + l;
}
using ll = long long;
using ld = long double;
using ull = unsigned long long;
const double PI = acos(-1.0);
const ll mod = 1e9 + 9;
const ll INF = 1e9;
ll gcd(ll a, ll b, ll &x, ll &y) {
  if (a == 0) {
    x = 0;
    y = 1;
    return b;
  }
  ll g = gcd((b % a), a, x, y);
  ll x1 = y - x * (b / a);
  ll y1 = x;
  x = x1;
  y = y1;
  return g;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie();
  ll a, b, c;
  cin >> a >> b >> c;
  ll x, y, g = gcd(a, b, x, y);
  if (c % g) {
    cout << -1 << endl;
    return 0;
  }
  c *= -1;
  cout << x * (c / g) << " " << y * (c / g) << endl;
}

```