#include using namespace std;using pi = pair;using ll = long long;using pl = pair;using pll = pair>;using pip = pair;using pdp = pair;constexpr int dy[] = {0, 0, -1, +1, -1, -1, +1, +1};constexpr int dx[] = {-1, +1, 0, 0, -1, +1, -1, +1};constexpr ll MOD = 1e9 + 7;constexpr ll LMT = 1e9 + 2;ll A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z;struct Point{ ll x, y; au..