#include<bits/stdc++.h> using namespace std; int x,n; int main() { cin>>x>>n; for(int i=1;i<=n;i++){ x=x/(x+i)+i; } printf("%.2lf",x); }