#include<stdio.h> using namespace std; int main(){ float x,y,a,b,c; scanf("%f %f",&x,&y); a=87*x; b=85*y; c=(a+b)/(x+y); printf("%0.4lf",c); }