#include <bits/stdc++.h>
using namespace std;
const long long logN = 20;
const long long M = 1000000007;
const long long INF = 1e12;
const long long N = 200005;
void setIO(string d_name = "") {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  if (((long long)(d_name).size())) {
    freopen((d_name + ".in").c_str(), "r", stdin);
    freopen((d_name + ".out").c_str(), "w", stdout);
  }
}
void solve() {
  long long x1, y1;
  cin >> x1 >> y1;
  long long x2, y2;
  cin >> x2 >> y2;
  x2 -= x1;
  y2 -= y1;
  long long n;
  cin >> n;
  string s;
  cin >> s;
  long long dx = 0, dy = 0;
  for (auto e : s) {
    if (e == 'U') {
      dy++;
    } else if (e == 'D') {
      dy--;
    } else if (e == 'R') {
      dx++;
    } else {
      dx--;
    }
  }
  long long l = 0, r = 1e18;
  while (r > (l + 1)) {
    long long mid = l + ((r - l) / 2);
    long long valx = ((mid / n) * (dx));
    long long valy = ((mid / n) * (dy));
    for (long long i = 0; i < (mid % n); i++) {
      if (s[i] == 'U') {
        valy++;
      } else if (s[i] == 'D') {
        valy--;
      } else if (s[i] == 'R') {
        valx++;
      } else {
        valx--;
      }
    }
    long long reqx = (x2 - valx);
    if (reqx < 0) {
      reqx *= -1;
    }
    long long reqy = (y2 - valy);
    if (reqy < 0) {
      reqy *= -1;
    }
    bool flag = false;
    if ((reqx + reqy) <= mid) {
      flag = true;
    }
    if (flag) {
      r = mid;
    } else {
      l = mid;
    }
  }
  if (r == 1e18) {
    cout << "-1";
  } else {
    cout << r;
  }
}
int32_t main() {
  setIO();
  long long t = 1;
  while (t--) {
    solve();
  }
  return 0;
}
