Zhang Yide's submission of Devu and Locks | CodeChef