Intelligent Tray Retrieval System