#include <stdio.h>
int main(){
    int a ;
    scanf("%d",&a);
    float b = 3.14;
    float c = a*a;
    float d = b * c ;
    printf(d);
}