#include<stdio.h>

int main()

{

int h = 0,r = 0;
scanf("%d %d",&h,&r);
double ret = 3.14*h*(r*r);//一杯有多少ml水
ret = ret/1000;
double sum = 10.0/ret;
if((int)sum %10 != 0)//如果sum后面有小数或者整数证明杯数不是正好的
{
    sum++;
}
printf("%d",(int)sum);
return 0;

}