#include <stdio.h>

int main() {
    int r;
    scanf("%d",&r);
    float s;
    s=3.14*r*r;
    printf("%f\n",s);

    return 0;
}