#include <bits/stdc++.h>
using namespace std;
long long sx, sy, ex, ey, len, num;
string s;
int judge(long long day) {
  long long stepx = sx, stepy = sy;
  for (long long i = 0; i < len; i++) {
    if (s[i] == 'U') stepy = stepy + day / len;
    if (s[i] == 'D') stepy = stepy - day / len;
    if (s[i] == 'L') stepx = stepx - day / len;
    if (s[i] == 'R') stepx = stepx + day / len;
  }
  for (long long i = 0; i < day % len; i++) {
    if (s[i] == 'U') stepy++;
    if (s[i] == 'D') stepy--;
    if (s[i] == 'L') stepx--;
    if (s[i] == 'R') stepx++;
  }
  if (abs(stepx - ex) + abs(stepy - ey) <= day)
    return 1;
  else
    return 0;
}
int main() {
  cin >> sx >> sy >> ex >> ey;
  cin >> len;
  cin >> s;
  long long low = 1, high = 1000000000000000000, mid, ans = -1;
  while (low <= high) {
    mid = (low + high) / 2;
    if (judge(mid)) {
      high = mid - 1;
      ans = mid;
    } else {
      low = mid + 1;
    }
  }
  cout << ans << endl;
  return 0;
}
