Because of the COVID-19 pandemic, Professor Lily has decded that his students will self-grade and self-report the scores on their assignments. Professor Lily has a class of students, numbered to , whom he has asked to self report the scores they received on an assignment with maximum score .
Can you determine which students failed to report their score correctly?
Input Specification
The first line of input contains two integers and , .
The second line of input contains an integer the number of test scores Professor Lily received, .
The next lines contain two positive integers and , denoting that that student has self-reported that he/she scored on the assignment.
Output Specification
A single line consisting of a list of space separated integers, in increasing order, the students that did not submit their assignment correctly.
Sample Input 1
5 10
5
1 11
3 8
4 3
5 8
5 7
Sample Output 1
1 2 5
Sample Input 2
6 6
6
3 5
1 0
4 3
3 5
5 7
6 2
Sample Output 2
2 5
Comments