import java.util.*;
 
 
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) 
	{
		Scanner sc=new Scanner(System.in);
	double r,a,p;
	System.out.println("enter the radius");
	r=sc.nextDouble();
	a=1/2*22/7*r*r;
	p=(22/7*r)+2*r;
	System.out.println("the area="+a);
	System.out.println("permieter="+p);
	}}
		
		
