#include #include using namespace std; int main() { double n; int m; while(~scanf("%lf%d",&n,&m)) { double ans=0; for(int i=0;i