#include<stdio.h>
#define PI 3.141592653589793
struct cylinder {
    int radius;
    int height;
};
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;
}