Stack removes the last added element