Serena is trying to figure out who will move on to her competition's second stage. She has a list of names, their corresponding scores, and the cutoff .
A participant will advance to the second stage if and only if their score is strictly greater than the cutoff.
Input Specification
The first line contains two space-separated integers, , the number of participants, and , the cutoff.
The next lines contain a string , the name of the participant, and an integer , their score.
It is guaranteed that all are distinct, and contain only lowercase letters of the Latin alphabet.
Output Specification
For each of the lines, print [s_i] will advance
if their score is strictly greater the cutoff, or [s_i] will not advance
otherwise. Output should correspond to the order the names appear in the input.
Constraints
In all tests,
Sample Input 1
5 55
georgechen 24
kevinwan 42
tankibuds 56
richardzhang 1
tzak 99
Sample Output 1
georgechen will not advance
kevinwan will not advance
tankibuds will advance
richardzhang will not advance
tzak will advance
Sample Input 2
1 48
vrotherin 48
Sample Output 2
vrotherin will not advance
Comments