Types: m: int, constellation: List[Tuple[int, int]], n: int, photo: List[Tuple[int, int]]
Ranges: 1 ≤ m ≤ 200, 1 ≤ n ≤ 1000, 0 ≤ x, y ≤ 1000000
Addtl Info: No more than 5 datasets, m = 0 indicates end of input