#include <bits/stdc++.h>
using namespace std;
double p, d, t, f, c, P, D, T, W;
int A;
int main() {
  scanf("%lf %lf %lf %lf %lf", &p, &d, &t, &f, &c);
  if (p + 1e-8 >= d)
    printf("0\n");
  else {
    P = p * t;
    while (true) {
      T = P / (d - p);
      W = P + p * T;
      if (W + 1e-8 >= c) break;
      P = W + p * (f + W / d);
      D = 0;
      A++;
    }
    printf("%d\n", A);
  }
}
