using System;
using System.Collections;
using System.Collections.Generic;
class Myon
{
public Myon() { }
public static int Main()
{
new Myon().calc();
return 0;
}
void calc()
{
string[] st = splitLine(6, 6);
int txa = getInt(st[0], 0, 1000);
int tya = getInt(st[1], 0, 1000);
int txb = getInt(st[2], 0, 1000);
int tyb = getInt(st[3], 0, 1000);
int T = getInt(st[4], 1, 50);
int V = getInt(st[5], 1, 100);
if (hypot(txa - txb, tya - tyb) > T * T * V * V) myon("takahashikun is too slow");
int n = getIntLine(1, 1000);
bool ret = false;
double eps = 1e-12;
for (int i = 0; i < n; i++)
{
st = splitLine(2, 2);
int x = getInt(st[0], 0, 1000);
int y = getInt(st[1], 0, 1000);
double dist = Math.Sqrt(hypot(txa - x, tya - y)) + Math.Sqrt(hypot(txb - x, tyb - y));
if (dist - eps < T * V) ret = true;
}
if (ret) Console.WriteLine("YES");
else Console.WriteLine("NO");
}
int hypot(int a, int b)
{
return a * a + b * b;
}
//swap
void swap<T>(ref T a, ref T b)
{
T c = a;
a = b;
b = c;
}
void myon(string s)
{
throw new Exception(s);
}
int getInt(string s, int min, int max)
{
int ret = int.Parse(s);
if (ret < min) throw new Exception("low");
if (ret > max) throw new Exception("high");
return ret;
}
int getIntLine(int min, int max)
{
int ret = int.Parse(Console.ReadLine());
if (ret < min) throw new Exception("low");
if (ret > max) throw new Exception("high");
return ret;
}
double getDouble(string s, double min, double max)
{
double ret = double.Parse(s);
if (ret < min) throw new Exception("low");
if (ret > max) throw new Exception("high");
return ret;
}
double getDoubleLine(double min, double max)
{
double ret = double.Parse(Console.ReadLine());
if (ret < min) throw new Exception("low");
if (ret > max) throw new Exception("high");
return ret;
}
string getString(string s, int min, int max)
{
if (s.Length < min) throw new Exception("low");
if (s.Length > max) throw new Exception("high");
return s;
}
string getStringLine(int min, int max)
{
string s = Console.ReadLine();
if (s.Length < min) throw new Exception("low");
if (s.Length > max) throw new Exception("high");
return s;
}
string[] splitLine(int min, int max)
{
string[] ret = Console.ReadLine().Split(' ');
if (ret.Length < min || ret.Length > max) throw new Exception("wrong length");
return ret;
}
}