Pontius Navigator
Sadly if they are all the same rank it is the officer nearest to the salutee (I think that I have just made this word up) that returns the salute.
Unfortunatly there is no requirement for the 3 officers to enter into a debate on their relevant dates of seniority and then, if they have the same date of seniority, then their order in the Air Force List.