#include<stdio.h>
int main()
{
int b,s,i=1;
while(scanf("%d %d",&b,&s)==2)
{
if(b==0 && s==0)break;
else if(b==1||b==0)printf("Case %d: :-\\\n",i++);
else if(s>=b)printf("Case %d: :-|\n",i++);
else if(b>s)printf("Case %d: :-(\n",i++);
}
return 0;
}
int main()
{
int b,s,i=1;
while(scanf("%d %d",&b,&s)==2)
{
if(b==0 && s==0)break;
else if(b==1||b==0)printf("Case %d: :-\\\n",i++);
else if(s>=b)printf("Case %d: :-|\n",i++);
else if(b>s)printf("Case %d: :-(\n",i++);
}
return 0;
}
No comments:
Post a Comment