#include using namespace std; int main(){ int test; scanf("%d", &test); while(test--){ int n,m,p; scanf("%d%d%d",&n,&m,&p); int cost=m-m*(100-p)/100; printf("%d\n",n