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 <iostream>
#include <sstream>
#include <string>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <cassert>

using namespace std;

#define FOR(i,k,n) for(int i=(k); i<(int)(n); ++i)
#define REP(i,n) FOR(i,0,n)
#define FORIT(i,c) for(__typeof((c).begin())i=(c).begin();i!=(c).end();++i)

template<class T> void debug(T begin, T end){ for(T i = begin; i != end; ++i) cerr<<*i<<" "; cerr<<endl; }
inline bool valid(int x, int y, int W, int H){ return (x >= 0 && y >= 0 && x < W && y < H); }

typedef long long ll;
const int INF = 100000000;
const double EPS = 1e-8;
const int MOD = 1000000007;
int dx[8] = {1, 0, -1, 0, 1, -1, -1, 1};
int dy[8] = {0, 1, 0, -1, 1, 1, -1, -1};
int dist(int x, int y){
  return x * x + y * y;
}

int main(){
  int T;
  cin >> T;
  while(T--){
    int N, X, Y;
    cin >> N >> X >> Y;
    int NX, NY;
    cin >> NX >> NY;
    vector<int> BX(N), BY(N);
    REP(i, N) cin >> BX[i] >> BY[i];
    vector< vector<int> > G(N);
    REP(i, N)FOR(j, i + 1, N){
      if(dist(BX[i] - BX[j], BY[i] - BY[j]) <= 50 * 50){
        G[i].push_back(j);
        G[j].push_back(i);
      }
    }
    int ans = 0;
    vector<int> cnt(N);
    queue<int> que[2];
    int T = Y / X + 1;
    REP(i, N) if(dist(BX[i] - NX, BY[i] - NY) <= 10 * 10){
      que[0].push(i);
      cnt[i] = T + 1;
    }
    while(!que[ans & 1].empty()){
      REP(i, N) if(cnt[i] > 0) cnt[i] --;
      //printf("%d:\n", ans);
      while(!que[ans & 1].empty()){
        int u = que[ans & 1].front(); que[ans & 1].pop();
        //printf("%d : %d %d\n", u, BX[u], BY[u]);
        REP(i, G[u].size()){
          int v = G[u][i];
          if(cnt[v] == 0){
            que[(ans + 1) & 1].push(v);
            cnt[v] = T + 1;
          }
        }
      }
      ans ++;
      if(ans >= 10000) break;
    }
    if(ans >= 10000) cout << "You're always welcome!" << endl;
    else cout << ans * X << endl;
  }

  return 0;
}