#include<stdio.h>
#define PI 3.141592653589793
struct cylinder{
    int r, h;
};

int main(){
    struct cylinder c1;
    int r=c1.radius;
    int r=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 volume =PI*r*r*h;
    printf("Surface Area: %.2f\n", surface);
    printf("Volume: %.2f", volume);
    return 0;
}