Once I saw some banking people came to re-fill the ATM machine, so it is clear that the machine is filled by money manually, and they keep money of different denominations separately. It will operate according to the instructions. I can's tell anything better than this.