An operating system uses shortest remaining time first scheduling algorithm for pre-emptive scheduling of processes. Consider the following set of processes with their arrival times and CPU burst times (in milliseconds):
ProcessP1P2P3P4Arrival Time0238Burst Time12465
The average waiting time (in milliseconds) of the processes is _____.