#include <stdio.h>
//不会的都是傻逼这也要我教
int main() {
    float a,b;
    scanf("%f",&a);
    b=3.14*a*a;
    printf("%f",b);

    return 0;
}