#include
using namespace std;
#define PI 3.1415927
int main(){
double ans_d,ans_mph,d,t;
int r,cnt = 0;
while(scanf("%lf%d%lf",&d,&r,&t)==3&&r){
ans_d = d/12/5280*PI*r;
ans_mph = ans_d*3600/t;
printf("Trip #%d: %.2lf %.2lf\n",++cnt,ans_d,ans_mph);
}
return 0;
}