def extract_arguments(fh):
    N, M = map(int, fh.readline().strip().split())
    obstacles = []
    for _ in range(M):
        Xi, Yi = map(int, fh.readline().strip().split())
        obstacles.append((Xi, Yi))
    return N, M, obstacles