# coding: utf-8 N,K=map(int,input().split()) p=0 for i in range(N): p+=i+1 print(p/(N+1))