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