| 22 | } |
| 23 | |
| 24 | int main(){ |
| 25 | ios::sync_with_stdio(0); |
| 26 | cin.tie(0); |
| 27 | int count,index; |
| 28 | cin >> count >> index; // the number of contestants and the index of the contestant whose number is to be compared is taken as input here |
| 29 | solve(count,index); // then these are passed to the function solve() |
| 30 | } |