#include <bits/stdc++.h>
using namespace std;
int a, b, n;
int pw(int x, int n) {
  int res = 1;
  for (int i(0); i < n; ++i) res = min(res * x, 2000);
  return res;
}
int main() {
  cin >> a >> b >> n;
  for (int x(-1001); x < 1002; ++x) {
    if (a * pw(x, n) == b) {
      cout << x << endl;
      return 0;
    }
  }
  puts("No solution");
  return 0;
}
