#include #include using namespace std; int main(){ double d = 1.0/3; // Expectation for increase in One Hit int N, M; cin >> M >> N; cout << fixed << setprecision(9) << M + d * N << endl; return 0; }