#include <bits/stdc++.h>
using namespace std;
const int NR = 25;
const int MR = 500;
const double eps = 1e-15;
int n, m, a, b;
double p[NR];
int in[NR];
int to[MR << 1], nxt[MR << 1];
int head[NR];
int tot = 1;
void add(int x, int y) {
  to[tot] = y;
  nxt[tot] = head[x];
  head[x] = tot++;
}
double pf[NR];
double dp[NR][NR];
double f[NR][NR];
double ans[NR];
int read() {
  int x = 0, f = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = (x << 3) + (x << 1) + (ch ^ 48);
    ch = getchar();
  }
  return x * f;
}
int main() {
  n = read(), m = read(), a = read(), b = read();
  if (a == b) {
    for (int i = 1; i <= n; i++) {
      if (i == a)
        puts("1.00000000000000000");
      else
        puts("0.0000000000000");
    }
    return 0;
  }
  for (int i = 1, x, y; i <= m; i++) {
    x = read(), y = read();
    add(x, y), add(y, x);
    in[x]++, in[y]++;
  }
  for (int i = 1; i <= n; i++) scanf("%lf", &p[i]);
  for (int i = 1; i <= n; i++) pf[i] = (1 - p[i]) / in[i];
  dp[a][b] = 1;
  int st = clock();
  for (int t = 1; t <= 500000 && (clock() - st - 0.0) / CLOCKS_PER_SEC <= 1;
       t++) {
    memset(f, 0, sizeof(f));
    for (int i = 1; i <= n; i++)
      for (int j = 1; j <= n; j++) {
        f[i][j] += dp[i][j] * p[i] * p[j];
        for (int t = head[i]; t; t = nxt[t])
          f[to[t]][j] += dp[i][j] * pf[i] * p[j];
        for (int s = head[j]; s; s = nxt[s])
          f[i][to[s]] += dp[i][j] * p[i] * pf[j];
        for (int t = head[i]; t; t = nxt[t])
          for (int s = head[j]; s; s = nxt[s])
            f[to[t]][to[s]] += dp[i][j] * pf[i] * pf[j];
      }
    memcpy(dp, f, sizeof(dp));
    for (int i = 1; i <= n; i++) ans[i] += dp[i][i], dp[i][i] = 0;
  }
  double all = 0;
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= n; j++) all += dp[i][j];
  for (int i = 1; i <= n; i++) printf("%.15f ", ans[i] + all / n);
  return 0;
}
