'''Signal Connection
Problem Description
You have been given longitude and latitude of locations from where the channels are going to be broadcasted. You also get the height of tower from which these channels are broadcasted. Moreover, you have been given the location of your friend Jason. You have to calculate how many connections he can make to the towers. Take Radius of earth= 6371 KM.

All the computation has to be accurate up to 6 digits after the decimal point.

Constraints
1 <= N < 10^5

Input
First line contains integer N denoting the number of locations from where the channel is going to be broadcasted

Second line contains N space-separated decimal values denoting latitudes

Third line contains N space-separated decimal values denoting longitudes

Fourth line contains N space-separated integer values denoting the height of tower from which channels are broadcasted

Fifth Line contains two space-separated decimal values denoting latitude, longitude of Jason's location

Output
Print the number of channels Jason can connect with

Time Limit
1'''