#include <stdio.h>
#include <stdlib.h>
#define pi 3.1415926
int main()
{
float dia,tim;
int rev,count=;
while(scanf("%f%d%f",&dia,&rev,&tim)!=EOF)
{
float dis,MPH;
if(rev==)
break;
dis=pi*dia*rev/;
tim/=;
MPH=dis/tim;
printf("Trip #%d: %.2f %.2f\n",++count,dis,MPH);
}
return ;;
}