﻿from random import random
from math import*
N=int(input('nombre de points ? '))
n=0
for k in range(N):
    x=pi*random()/2
    y=random()
    if sin(x)>y:
        n=n+1
print((n/N)*pi/2)


