const input = require('fs').readFileSync('/dev/stdin', 'UTF-8');

const circle = radius => {
  const r = Number(radius);
  const area = (Math.pow(r, 2) * Math.PI).toFixed(6);
  const circumference = (2 * r * Math.PI).toFixed(6);

  console.log([area, circumference].join(' '));
};

circle(input);

