#include <iostream>
using namespace std;

int main() {
	int r;
	scanf("%d", &r);
	printf("%f", 3.14 * r * r);
}