#include <bits/stdc++.h>
using namespace std;
using ll = long long;
ll n, m, k;
signed main() {
  cin >> n >> m >> k;
  ll s = 1;
  ll e = 1e12;
  ll ans = 0;
  while (s <= e) {
    ll mid = (s + e) / 2;
    ll cnt = 0;
    for (ll i = 1; i <= n; i++) {
      cnt = cnt + min(m, mid / i);
    }
    if (cnt >= k) {
      ans = mid;
      e = mid - 1;
    } else {
      s = mid + 1;
    }
  }
  cout << ans << "\n";
  return 0;
}
