/*
  AOJ 2008 
  Title:Dragon Fansy
  @kankichi573
*/
#include <stdio.h>
#include <stdlib.h>
#include <float.h>
#define sqr(x) ((x)*(x))

int n,hx,hy,dx,dy;
struct xtal_st
{
        int x;
        int y;
        double dist;
} xtal[20];
double calc_dist(int x1,int y1,int x2,int y2)
{
        return(sqrt((double)(sqr(x1-x2)+sqr(y1-y2))));
}
int solve()
{
        int i;
        double acc;
        acc=calc_dist(hx,hy,xtal[0].x,xtal[0].y);
        for(i=0;i<n;i++)
        {
                //printf("%lf,%lf\n",acc,xtal[i].dist);

                if(acc >= xtal[i].dist)
                        return(0);
                acc += calc_dist(xtal[i].x,xtal[i].y,xtal[i+1].x,xtal[i+1].y);
        }
        return(1);
}

int comp_(const void *a, const void *b)
{
        return (((struct xtal_st *)b)->dist - ((struct xtal_st *)a)->dist);
}



void set_dist(struct xtal_st *xtal)
{
        int i;
        for(i=0;i<n;i++)
                xtal->dist=sqrt(sqr(xtal->x-dx)+sqr(xtal->y-dy));
}
main()
{
        int i;

        while(EOF!=scanf("%d %d %d %d %d",&n,&hx,&hy,&dx,&dy) &&  
              (n||hx||hy||dx||dy))
        {
                for(i=0;i<n;i++)
                {
                        scanf("%d %d",&xtal[i].x,&xtal[i].y);
                        set_dist(&xtal[i]);
                }
                qsort(xtal,n,sizeof(struct xtal_st),comp_);
                printf("%s\n",solve()?"yes":"no");
        }
  return(0);
}