main() | |
{ | |
int v,t; | |
while(scanf("%d %d",&v,&t)==2) | |
{ | |
if(v>=-100 && v<=100) | |
{ | |
if(t>=0 && t<= 200) | |
printf("%d\n",2*v*t); | |
} | |
else | |
break; | |
} | |
return 0; | |
} | |
main() | |
{ | |
int v,t; | |
while(scanf("%d %d",&v,&t)==2) | |
{ | |
if(v>=-100 && v<=100) | |
{ | |
if(t>=0 && t<= 200) | |
printf("%d\n",2*v*t); | |
} | |
else | |
break; | |
} | |
return 0; | |
} | |