# include <cstdio> using namespace std; int main() { double A, B; scanf("%lf%lf", &A, &B); printf("MEDIA = %.5lf", 3.5 / (3.5 + 7.5) * A + 7.5 / (3.5 + 7.5) * B); }