#include <iostream> using namespace std; int main() { float A,B; cin>>A; cin>>B; printf("MEDIA = %.5f\n",(A*3.5+B*7.5)/11); return 0; }