i,j;a=999;main(A,B){ for(scanf("%d%d",&A,&B);i<=500;i++)for(j=0;j<=500;j++) A==round(1e2*i/(i+j))&&B==round(1e2*j/(i+j))&&i+j