#include #include using namespace std; int main(){ int a,b;cin>>a>>b; cout << fixed << setprecision(10) << (double)(a*41+b*49)/(6*(a+b)) << endl; }