#include <bits/stdc++.h>
using namespace std;
long long fan_x[202000];
long long fan_y[202000];
long long x, y, xx, yy;
long long n;
string s;
bool check(long long M) {
  long long ssx = M / n * fan_x[n] + fan_x[M % n],
            ssy = M / n * fan_y[n] + fan_y[M % n];
  return abs(xx - ssx) + abs(yy - ssy) <= M;
}
int main() {
  cin >> x >> y >> xx >> yy;
  cin >> n;
  cin >> s;
  s = "#" + s;
  xx -= x;
  yy -= y;
  int temp_x = 0;
  int temp_y = 0;
  for (int i = 1; i <= n; ++i) {
    if (s[i] == 'R') temp_x++;
    if (s[i] == 'D') temp_y--;
    if (s[i] == 'U') temp_y++;
    if (s[i] == 'L') temp_x--;
    fan_x[i] = temp_x;
    fan_y[i] = temp_y;
  }
  long long l = 0;
  long long r = 1ll << 60;
  while (l < r) {
    long long mid = (l + r) >> 1;
    if (check(mid)) {
      r = mid;
    } else
      l = mid + 1;
  }
  if (l == (1ll << 60)) {
    printf("-1\n");
  } else
    printf("%I64d\n", l);
  return 0;
}
