#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[1000000], A, B, ans, i, x, j;
  cin >> A >> B >> n;
  for (i = -10000; i <= 10000; i++) {
    x = i;
    for (j = 1; (j < n) && (x < 10000); j++) x *= i;
    if (A * x == B) {
      cout << i;
      return 0;
    }
  }
  cout << "No solution";
  return 0;
}
