結果 : define priority encoder with example