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: m = 0 indicates the end of the input, no more than 5 datasets.