#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false), cin.tie(NULL);
  int a, b, n;
  cin >> a >> b >> n;
  if (!b && a || !b && !a)
    cout << "0";
  else if (n == 1 && a == 1)
    cout << b;
  else if (!a && b)
    cout << "No solution";
  else if (a == b)
    cout << "1";
  else if (a == -1 * b || b == -1 * a)
    cout << "-1";
  else {
    int x = b / a;
    bool ne = false;
    if (x < 0) {
      ne = true;
      x *= -1;
    }
    bool flag = true;
    for (int i = 2; i <= 1000; i++) {
      long long ans = 1, v = 0;
      while (true) {
        ans *= i;
        v++;
        if (ans == x && v == n) {
          if (ne) {
            cout << -1 * i;
            flag = false;
          } else {
            cout << i;
            flag = false;
            return 0;
          }
        } else if (ans > x)
          break;
      }
    }
    if (flag) cout << "No solution";
  }
  return 0;
}
