Problem: Natsume loves big cats. One day, Natsume was invited by the stray cats she was always close to to go to the mysterious bookstore where the cats were open. When I heard that the bookstore sells books with many pictures of cats, Natsume decided to follow her happily.

I didn't know Natsume, but the bookstore that was taken by the cats was a famous store with chain stores nationwide. The store has a solid manual for the clerk, and the behavior of the clerk is unified in every store. The following is an excerpt from the manual.

1. When a customer enters the store through a door within a 10-Euclidean distance from the clerk, he must say "Welcome Hello" in a loud voice for X seconds.
2. When the clerk who heard another clerk within the Euclidean distance of 50 saying "Welcome Hello", the clerk said "Welcome Hello" at the end of the utterance of "Welcome Hello" in a loud voice over X seconds. Must. However, a clerk who has completed uttering another "Welcome Hello" within the past Y seconds from the start of uttering this repeat must not repeat it.



Given the X, Y, customer location, and clerk placement, calculate how many seconds it will take for the store to be quiet after the customer enters. If the repeat does not stop, print "You're always welcome!".

Notes on Submission

Multiple datasets are given in the above format. The first line of input data gives the number of datasets. Create a program that outputs the output for each data set in order in the above format.



Input

The number N of the clerk and the X and Y written in the manual are given on the first line of the input, separated by one space character. The second line is the position where Natsume enters the store, and the following N lines are the coordinates representing the positions of N clerk. Each position is given by separating the x and y coordinates with a single space character, and each number is given as an integer between 0 and 1000. Also, 1 <= N <= 1000, 1 <= X, Y <= 100 is satisfied.

Output

If the repeat does not stop, output the time from when the customer enters the store until it becomes quiet, and if it does not stop, output "You're always welcome!" On one line.

Example

Input

4
3 3 5
0 0
10 0
40 40
40 90
4 5 10
100 100
50 100
50 150
100 50
100 150
4 60 10
100 100
90 100
110 100
100 90
100 110
4 60 10
100 100
80 100
110 100
100 80
100 110


Output

9
0
60
You're always welcome!

Solution (in CPP):

Solution:
#include <stdio.h>
#include <string.h>
#include <algorithm>
#include <iostream>
#include <math.h>
#include <assert.h>
#include <vector>
#include <queue>
#include <string>
#include <map>
#include <set>

using namespace std;
typedef long long ll;
typedef unsigned int uint;
typedef unsigned long long ull;
static const double EPS = 1e-9;
static const double PI = acos(-1.0);

#define REP(i, n) for (int i = 0; i < (int)(n); i++)
#define FOR(i, s, n) for (int i = (s); i < (int)(n); i++)
#define FOREQ(i, s, n) for (int i = (s); i <= (int)(n); i++)
#define FORIT(it, c) for (__typeof((c).begin())it = (c).begin(); it != (c).end(); it++)
#define MEMSET(v, h) memset((v), h, sizeof(v))

typedef vector<int> Edges;
typedef vector<Edges> Graph;

inline int square(int x) { return x * x; }

int n, t1, t2;
vector<int> state;
int x[1010];
int y[1010];
Graph g;
vector<int> cand;

int main() {
  int test;
  scanf("%d", &test);
  while (test--) {
    int sx, sy;
    scanf("%d %d %d %d %d", &n, &t1, &t2, &sx, &sy);
    t2++;
    g = Graph(n);
    state = vector<int>(n, 0);
    REP(i, n) {
      scanf("%d %d", &x[i], &y[i]);
    }
    REP(i, n) {
      if (square(x[i] - sx) + square(y[i] - sy) <= 100) {
        //cout << i << endl;
        state[i] = t1;
      }
      REP(j, i) {
        if (square(x[i] - x[j]) + square(y[i] - y[j]) <= 2500) {
          //cout << i << " " << j << endl;
          g[i].push_back(j);
          g[j].push_back(i);
        }
      }
    }
    ll ans = 0;
    set<vector<int> > open;
    while (true) {
      if (open.count(state)) {
        puts("You're always welcome!");
        goto next;
      }
      open.insert(state);
      int nt = 1 << 20;
      REP(i, n) {
        if (state[i] > 0) { nt = min(nt, state[i]); }
      }
      if (nt == (1 << 20)) { break; }

      queue<int> que;
      ans += nt;
      REP(i, n) {
        int l = nt;
        if (state[i] > 0) {
          if (state[i] == nt) { que.push(i); }
          int t = min(state[i], l);
          state[i] -= t;
          l -= t;
          if (state[i] == 0) { state[i] = -t2; }
        }
        if (state[i] < 0 && l > 0) {
          state[i] += l;
          state[i] = min(state[i], 0);
        }
      }

      while (!que.empty()) {
        int from = que.front();
        que.pop();
        FORIT(it, g[from]) {
          int to = *it;
          if (state[to] == 0) { state[to] = t1; }
        }
      }
    }
    printf("%lld\n", ans);
next:;
  }
}