from sys import stdin
import math
n = int(stdin.readline().rstrip())
x0, y0 = [int(x) for x in stdin.readline().rstrip().split()]
xn2, yn2 = [int(x) for x in stdin.readline().rstrip().split()]

middle = a,b

new_a
new_b


theta = 2*math.pi/n

h = 

print (h * math.cos(theta) + i*math(sin(theta)))(a + i*b) + m + i*n