In the early days of Big Bang three officers Neutron, Proton and Electron founded an Atomic bank. The bank had three booths and each officer sat behind a booth.
Each officer had a unique habit of giving the money when you visited their booth. Officer Proton always used to give the amount in Even number; Officer Electron always used to give amount in Odd number and Officer Neutron always used to give amount based on the type of number you received from the other booths(If you have Odd amount then Officer Neutron used to give in Even amounts and if you have Even amount then Officer Neutron used to give in Odd amounts) but if you visited Officer Neutron booth first with an empty handed he used to give a random number (It can be either Odd or Even).
No one knows who sat behind each booth and they shuffled their booths every day for various security reasons of the bank but the bank had a Platinum policy that anyone who can accurately confirm the positions of three officers in a day can avail a loan free of interest.
A photon visited the bank one day to get a loan to repair its speed and got thrilled with the offer given by the bank. The three officers never liked the attitude of massless photon and decided to make the loan process stringent by adding two more conditions to the policy
Condition 1: You are allowed only 4 visits to the booths in a day
Condition 2: If you receive an Odd payment in your first booth visit you cannot revisit that booth immediately again
Photon used to come daily and collected the money no matter how many times the officers shuffled, so the officers had to finally shut down the bank
How was Photon successfully able to figure out the positions of the officers?