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 <vector>
#include <algorithm>
#include <cstring>
#include <complex>
#include <set>
using namespace std;

typedef complex<double> P;

#define EPS (1e-10)
#define EQ(a,b) ((abs((a)-(b)))<EPS)

int past[1001];
vector<int> G[1001];
P points[1001];
bool loud[2][1001];

/*
Ü¸£50ÈàÌXõ¯mðGbWÅñ¾Otðì¬
 éXõª­ºðI¦Ä©çAybæè¨¨­ÌÔª§ÁÄ¢éêÍA×Ú·ém[hÌXõª­ºÂ\
Ü½AXõÌ­ºÍAxb²ÆÉ¯ÉsíêéB
æÁÄA­ºI¹ãy/x+1ñÌ­º²ÆÉAÌ­ºªÂ\ÆÈéB
Ü½AÇÌæ¤ÈðÌ³Âè~ÜÈ¢©ðl¦éB
Ü¸AOñÜÅÉ¯¶­ºXõÌgÝí¹ÉoïÁ½©Ç¤©ðl¦éBi2^1000Êèà éÌÅA·×ÄÌóÔÍÛÅ«È¢j
*/

int main(){
	int t;
	cin>>t;
	while(t--){
		int n,x,y;
		int nx,ny;
		int a;
		cin>>n>>x>>y;
		cin>>nx>>ny;
		a=y/x+1;
		P np=P(nx,ny);
		for(int i=0;i<n;i++)G[i].clear();
		memset(loud,0,sizeof(loud));
		memset(past,0,sizeof(past));
		for(int i=0;i<n;i++){
			int ex,ey;
			cin>>ex>>ey;
			points[i]=P(ex,ey);
		}
		for(int i=0;i<n;i++){
			for(int j=i+1;j<n;j++){
				double d=abs(points[i]-points[j]);
				if(EQ(d,50)||d<50){
					G[i].push_back(j);
					G[j].push_back(i);
				}
			}
		}
		set<int> st;
		for(int i=0;i<n;i++){
			double d=abs(points[i]-np);
			if(EQ(d,10)||d<10){
				loud[0][i]=true;
				past[i]=a;
				st.insert(i);
			}
		}
		// Åå2000ñV~[V
		int cnt;
		int cur=0;
		int nxt=1;
		set<set<int> > ssi;
		ssi.insert(st);
		for(cnt=0;;cnt++){
			set<int> s;
			memset(loud[nxt],0,sizeof(loud[nxt]));
			// »ÝtrueÈçÎA×Úm[hðtrueÉ·é
			bool fin=true;
			for(int i=0;i<n;i++){
				if(loud[cur][i]){
					fin=false;
					for(int j=0;j<(int)G[i].size();j++){
						int to=G[i][j];
						if(!loud[cur][to]&&past[to]<=0&&!loud[nxt][to]){
							s.insert(to);
							loud[nxt][to]=true;
							past[to]=a+1;
						}
					}
				}
			}
			if(fin){
				cout<<cnt*x<<endl;
				break;
			}
			else if(ssi.find(s)!=ssi.end()){
				cout<<"You're always welcome!"<<endl;
				break;
			}
			ssi.insert(s);
			for(int i=0;i<n;i++)past[i]--;
			swap(nxt,cur);
		}
		// goalsÂ\
//		if(cnt==100000)
//			cout<<"You're always welcome!"<<endl;
	}
	return 0;
}