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