    'use strict';
    (function(stdin) {
      //declare function

      //declare variable
      var inputs = stdin.toString().trim().split('\n');
      var pi = Math.PI;
      var r = inputs[0];
      //main

      //display
      console.log((r * r * pi).toFixed(6), (2 * r * pi).toFixed(6));
    })(require('fs').readFileSync('/dev/stdin', 'utf8'));