POJ 1904 - King's Quest