#include<stdio.h>/*一开始把pi写成3.1415926结果测试数据都没过*/
#include<math.h>
int main()
{
int T,t;
scanf("%d",&T);
t=T;
while(T--)
{
int n;
double a,r,u,h;
scanf("%d%lf%lf",&n,&a,&r);
u=180*(n-2)/n/2;
h=tan(u*3.1415927/180)*a/2;
printf("%lf %lf\n",h,r);
if(h>=r)
printf("Case #%d:\nGive me a kiss!\n",t-T);
else
printf("Case #%d:\nI want to kiss you!\n",t-T);
}
}