#include <stdio.h>
int main()
{
    int h = 0;
    int r = 0;
    scanf("%d %d", &h, &r);
    float pai = 3.14;
    float volume = pai * h * r * r;
    int count = (int)10000 / volume;
    if(count * volume < 10000)
    {
        count++;
    }
    printf("%d\n", count);
    return 0;
}