#include<iostream>
#include<algorithm>
using namespace std;
int main (void)
{
  int a,b;
  cin>>a>>b;
  int start=1;
  b=b-1;
  int ans;
  ans=b/(a-1);
    if(b%(a-1)!=0)ans++;
  cout<<ans<<endl;
}
#include <stdio.h>
typedef long long ll;

int main(void) {
  ll h, w, n, m;
  scanf("%lld%lld%lld", &h, &w, &n);
  m = h > w ? h : w;
  printf("%lld", (n + m - 1) / m);
  return 0;
}