How To Calculate First In First Out