#include <bits/stdc++.h> #define sc(x) scanf("%lld", &(x)) #define pr(x) printf("%lld\n", x) #define endl '\n' #define mem(x, y) memset(x, y, sizeof(x)) #define ios ios::sync_with_stdio(false), cin.tie(0), cout.tie(0) #define pt putchar(10) #define For(i, j, k) for (int...