_input = [int(num) for num in input().split(" ")]
river_width = _input[0]
max_jump_length = _input[1]

stones = [int(stone) for stone in input().split(" ")]

_input = [int(num) for num in input().split(" ")]
river_width = _input[0]
max_jump_length = _input[1]

stones = [int(stone) for stone in input().split(" ")]
