#include<stdio.h>
#define PI 3.1415926535897993
struct cylinder {
    int radius;
    int heights;
};
int main(){
    struct cylinder c1;
    int r=c1.radius;
    int h=c1.height;
    scanf("%d",&r);
    scanf("%d",&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;
}