#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-9;
int a, b, n, p;
int main() {
  cin >> a >> b >> n;
  for (int x = -1000; x < 1001; x++) {
    p = 1;
    for (int i = 0; i < n && p <= 1000; i++) p *= x;
    if (a * p == b) {
      cout << x;
      return 0;
    }
  }
  cout << "No solution";
  return 0;
}
