(function(stdin){
	var lines = stdin.toString().split('\n').map(Number);
	var resolt = (function(lines){
		return [(lines * 2 * Math.PI).toFixed(6),(lines*lines*Math.PI).toFixed(6)];
	}(lines[0])).join(' ');
	console.log(resolt);
}(require('fs').readFileSync('/dev/stdin','utf8')));