#include <bits/stdc++.h>
using namespace std;
ifstream fin("test.in");
double i, j, sens, k, o, ta, tb, pasi, p, d, pl, haur, n;
int a, b, t, f, c;
int main() {
  cin >> a >> b >> t >> f >> c;
  k = 1000;
  ta = a / k;
  tb = b / k;
  p = a * t;
  sens = 1;
  while (p < c) {
    n = 0;
    while (p + a > d + b && p < c) {
      p += a;
      d += b;
      n += a;
    }
    while (p > d && p < c) {
      p += ta;
      d += tb;
      n += ta;
    }
    if (p < c && p != c) ++haur;
    d = 0;
    p += n + a * f;
  }
  cout << haur;
  return 0;
}
