#include <stdio.h>
#define PI 3.14
int main(void) {
	double a,b,c;
	scanf("%d",&a);
	b=a*a*PI;
	c=2*a*PI;
	printf("%d""%d",b,c);
 return 0;
}