object Main {

    def main(args: Array[String]) = {
        val sc = new java.util.Scanner(System.in)
        val r = sc.nextDouble
        val pi = scala.math.Pi

        print("%f %f\n".format(pi*r*r, 2*pi*r))
    }
}

