Professor Alex is preparing an exam for his students now.
There will be $n$ students participating in this exam. If student $i$ has a good mindset, he/she will perform well and get $a_i$ points. Otherwise, he/she will get $b_i$ points. So it is impossible to predict the exam results. Assume the highest score of these students is $x$ points. The students with a score of no less than $x⋅p\%$ will pass the exam.
Alex needs to know what is the maximum number of students who can pass the exam in all situations. Can you answer his question?