There are N robots and M exits on a number line.
The N + M coordinates of these are all integers and all distinct.
For each i (1 \leq i \leq N), the coordinate of the i-th robot from the left is x_i.
Also, for each j (1 \leq j \leq M), the coordinate of the j-th exit from the left is y_j.
Snuke can repeatedly perform the following two kinds of operations in any order to move all the robots simultaneously:
 - Increment the coordinates of all the robots on the number line by 1.
 - Decrement the coordinates of all the robots on the number line by 1.
Each robot will disappear from the number line when its position coincides with that of an exit, going through that exit.
Snuke will continue performing operations until all the robots disappear.
When all the robots disappear, how many combinations of exits can be used by the robots?
Find the count modulo 10^9 + 7.
Here, two combinations of exits are considered different when there is a robot that used different exits in those two combinations.

-----Constraints-----
 - 1 \leq N, M \leq 10^5
 - 1 \leq x_1 < x_2 < ... < x_N \leq 10^9
 - 1 \leq y_1 < y_2 < ... < y_M \leq 10^9
 - All given coordinates are integers.
 - All given coordinates are distinct.

-----Input-----
Input is given from Standard Input in the following format:
N M
x_1 x_2 ... x_N
y_1 y_2 ... y_M

-----Output-----
Print the number of the combinations of exits that can be used by the robots when all the robots disappear, modulo 10^9 + 7.

-----Sample Input-----
2 2
2 3
1 4

-----Sample Output-----
3

The i-th robot from the left will be called Robot i, and the j-th exit from the left will be called Exit j.
There are three possible combinations of exits (the exit used by Robot 1, the exit used by Robot 2) as follows:
 - (Exit 1, Exit 1)
 - (Exit 1, Exit 2)
 - (Exit 2, Exit 2)

```python

USER_FILENAME = "<user_code>"
import sys, json, builtins
import math, heapq, bisect, itertools, functools, collections, statistics, fractions, decimal, operator, array, random, re, string, os, pathlib
try:
    import resource as _res
except Exception:
    _res = None
from collections import Counter, defaultdict, deque, OrderedDict
from functools import lru_cache, reduce
from itertools import accumulate, permutations, combinations, product
from math import gcd, ceil, floor, sqrt
from decimal import Decimal
try:
    from typing import *
except Exception:
    pass
try:
    sys.setrecursionlimit(1_000_000)
except Exception:
    pass
try:
    import site as _site
    try:
        _sys_sites = _site.getsitepackages() if hasattr(_site, "getsitepackages") else []
        for _p in _sys_sites:
            if _p and _p not in sys.path:
                sys.path.append(_p)
    except Exception:
        pass
    try:
        _usp = _site.getusersitepackages()
        if isinstance(_usp, str):
            _usp = [_usp]
        for _p in _usp:
            if _p and _p not in sys.path:
                sys.path.append(_p)
    except Exception:
        pass
except Exception:
    pass

ns = {"__name__": "__main__"}
for _k, _v in list(globals().items()):
    if not _k.startswith("_"):
        ns[_k] = _v
_CODE = 'from bisect import bisect\nfrom collections import defaultdict\n\n\nclass Bit:\n    def __init__(self, n, MOD):\n        self.size = n\n        self.tree = [0] * (n + 1)\n        self.depth = n.bit_length()\n        self.mod = MOD\n\n    def sum(self, i):\n        s = 0\n        while i > 0:\n            s += self.tree[i]\n            i -= i & -i\n        return s % self.mod\n\n    def add(self, i, x):\n        while i <= self.size:\n            self.tree[i] = (self.tree[i] + x) % self.mod\n            i += i & -i\n\n    def debug_print(self):\n        for i in range(1, self.size + 1):\n            j = (i & -i).bit_length()\n            print((\'  \' * j, self.tree[i]))\n\n    def lower_bound(self, x):\n        sum_ = 0\n        pos = 0\n        for i in range(self.depth, -1, -1):\n            k = pos + (1 << i)\n            if k <= self.size and sum_ + self.tree[k] < x:\n                sum_ += self.tree[k]\n                pos += 1 << i\n        return pos + 1, sum_\n\n\nn, m = list(map(int, input().split()))\nxxx = list(map(int, input().split()))\nyyy = list(map(int, input().split()))\nab = defaultdict(set)\ncoordinates = set()\n\nfor x in xxx:\n    if x < yyy[0] or yyy[-1] < x:\n        continue\n    i = bisect(yyy, x)\n    a = x - yyy[i - 1]\n    b = yyy[i] - x\n    ab[a].add(b)\n    coordinates.add(b)\n\n# Bitのindexは1から始まるように作っているが、"0"を取れるようにするため、全体を1ずらす\ncor_dict = {b: i for i, b in enumerate(sorted(coordinates), start=2)}\ncdg = cor_dict.get\nMOD = 10 ** 9 + 7\nbit = Bit(len(coordinates) + 1, MOD)\nbit.add(1, 1)\n\nfor a in sorted(ab):\n    bbb = sorted(map(cdg, ab[a]), reverse=True)\n    for b in bbb:\n        bit.add(b, bit.sum(b - 1))\n\nprint((bit.sum(bit.size)))\n'
_co = compile(_CODE, USER_FILENAME, "exec")
exec(_co, ns, ns)

```

Measured memory_bytes: 17671