var readable = process.stdin;
readable.resume();
readable.setEncoding( 'utf-8' );
readable.on( 'data', function( chunk ) {
  var data = new Number( chunk.replace( '\n', '' ) );
  var s = Math.PI*data*data;
  var r2 = Math.PI*data*2;
  console.log( '%d %d', s.toFixed( 6 ), r2.toFixed( 6 ) );
});