#include using namespace std; typedef long long LL; #define CIN_ONLY if(1) struct cww{cww(){ CIN_ONLY{ ios::sync_with_stdio(false);cin.tie(0); cout< template inline bool chmin(T &l,T r) {bool a=l>r;if(a)l=r;return a;} template inline bool chmax(T &l,T r) {bool a=l istream& operator>>(istream &is,vector &v){ for(auto &it:v)is>>it; return is; } typedef vector V; int main(){ int M,N; cin>>M>>N; V dp(N+1,M); REP(i,N) dp[i+1]=(dp[i]*2+dp[i]+1)/3.0; cout<