#include <iostream>
using namespace std;
int main ()
{
int a,b,c,m,z;
cin>>a>>b;
c=a*12*2.54 ;
m=b*2.54;
z=(c+m);
cout<<a<<"'"<<b<<"”"<<"="<<z;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4gKCkKewppbnQgYSxiLGMsbSx6OwoKY2luPj5hPj5iOwpjPWEqMTIqMi41NCA7Cm09YioyLjU0Owp6PShjK20pOwpjb3V0PDxhPDwiJyI8PGI8PCLigJ0iPDwiPSI8PHo7CnJldHVybiAwOwp9Cg==