Last In First Out Method Formula