{"raw_statement":[{"iden":"problem statement","content":"Takahashi had $N$ glasses of liquor.\nThe amount and alcohol percentage of the $i$\\-th liquor were $V_i$ milliliters and $P_i$ percent by volume, respectively.\nTakahashi gets drunk when his alcohol intake exceeds $X$ milliliters.\nWhich of the $N$ liquors was he drinking when he gets drunk? If he was not drunk even after drinking all the liquors, print `-1` instead."},{"iden":"constraints","content":"*   All values in input are integers.\n*   $1 \\leq N \\leq 10^3$\n*   $0 \\leq X \\leq 10^6$\n*   $1 \\leq V_i \\leq 10^3$\n*   $0 \\leq P_i \\leq 100$"},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$ $X$\n$V_1$ $P_1$\n$\\vdots$\n$V_N$ $P_N$"},{"iden":"sample input 1","content":"2 15\n200 5\n350 3"},{"iden":"sample output 1","content":"2\n\nThe $1$\\-st liquor contains $200\\times \\dfrac{5}{100}=10$ milliliters of alcohol.\nThe $2$\\-nd liquor contains $350\\times \\dfrac{3}{100}=10.5$ milliliters of alcohol.\nHis alcohol intake exceeds $15$ milliliters for the first time when drinking the $2$\\-nd liquor."},{"iden":"sample input 2","content":"2 10\n200 5\n350 3"},{"iden":"sample output 2","content":"2\n\nWhen his alcohol intake is exactly $X$ milliliters, he is still not drunk."},{"iden":"sample input 3","content":"3 1000000\n1000 100\n1000 100\n1000 100"},{"iden":"sample output 3","content":"\\-1\n\nHe seems to be immune to alcohol."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}