'use strict';
(function(stdin) {
    var inputs = stdin.toString();
    var r = parseFloat(inputs);
    var circlearea = Math.PI * Math.pow(r, 2);
    var circumference = 2 * Math.PI * r;
    console.log(circlearea, circumference);

}(require('fs').readFileSync('/dev/stdin', 'utf8')));