The first line of input contains m the number of cases and then m lines follow. Each subsequent line consists of cases with the input number, followed by an unlucky number, each on a separate line.
บรรทัดแรกของข้อมูลป้อนเข้าประกอบด้วยตามจำนวนกรณี และบรรทัด m m แต่ละบรรทัดต่อมาประกอบด้วยกรณีที่มีหมายเลขอินพุต ตาม ด้วยหมายเลขไป แต่ละบรรทัดแยกต่างหาก