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