program Programz3; {$APPTYPE CONSOLE} var h,s:integer;n:real; const m=60; begin readln(h,s); n:=s*(h/m); writeln(n:3:2); readln; end.