Constraints
To evaluate your solution, the judges will run your program against several difffferent input fifiles.
All of these fifiles will adhere to the following bounds:
• 1 ≤ N ≤ 1 000 (the number of contestants in the IAO)
• 1 ≤ A ≤ N (your rank on the fifirst day)
• 1 ≤ B ≤ N (your rank on the second day)