#include <bits/stdc++.h>
using namespace std;
#pragma comment(linker, "/stack:16000000")
#pragma warning(disable : 4996)
const long long inf = 1LL << 40;
const double eps = 1e-9;
long long power(long long x, int n) {
  long long ret = 1;
  for (int i = (0); i < (n); ++i) {
    ret = ret * x;
    ret = min(ret, inf);
    ret = max(ret, -inf);
  }
  return ret;
}
int main() {
  long long a, b, n;
  cin >> a >> b >> n;
  for (int x = (-1200); x < (1200 + 1); ++x)
    if (a * power(x, n) == b) {
      cout << x << endl;
      return 0;
    }
  printf("No solution\n");
  return 0;
}
