#include <bits/stdc++.h>
using namespace std;
int main() {
  double x, y, n, u, v, chk1, chk2, mm = 10000000, p, q;
  cin >> x >> y >> n;
  int limit = min(y, n);
  for (int i = 1; i <= limit; i++) {
    chk1 = ceil(x * i / y);
    chk2 = floor(x * i / y);
    if (abs(x / y - chk2 / i) < mm) {
      mm = abs(x / y - chk2 / i);
      p = chk2, q = i;
    }
    if (abs(x / y - chk1 / i) < mm) {
      mm = abs(x / y - chk1 / i);
      p = chk1, q = i;
    }
  }
  cout << p << "/" << q << endl;
  return 0;
}
