#include <bits/stdc++.h>
int main() {
  int a, b, n, p, i, j;
  scanf("%d%d%d", &a, &b, &n);
  if (a == 0 && b == 0)
    printf("5");
  else if (a == 0)
    printf("No solution");
  else {
    if (b % a == 0) {
      b /= a;
      if (b >= 0) {
        p = 0;
        i = 0;
        while (p < b) {
          i++;
          p = 1;
          for (j = 1; j <= n; j++) p = p * i;
        }
        if (p == b)
          printf("%d", i);
        else
          printf("No solution");
      } else {
        if (n % 2 == 0)
          printf("No solution");
        else {
          p = 0;
          i = 0;
          while (p > b) {
            i--;
            p = 1;
            for (j = 1; j <= n; j++) p = p * i;
          }
          if (p == b)
            printf("%d", i);
          else
            printf("No solution");
        }
      }
    } else
      printf("No solution");
  }
  return 0;
}
