#include<stdio.h>
#define PI 3.141592653289793
struct cylinder{
    int radius;
    int height;
};
int main(){
    struct cylinder c1;
    int r=c1.radius;
    int h=c1.height;
    scanf("%d %d",&r,&h);
    if(r<=0 || h<=0){
        printf("Invalid input");
        return 0;
    }
    float surface =2*PI*r*h+(2*PI*r*r);
    float volue =PI*r*r*h;
    printf("Surface Area: %.2f\n",surface);
    printf("Volume: %.2f" ,volume);
    return 0;
}