#include using namespace std; int main() { int N, T, K, x_max; cin >> N >> T; assert(2 < N && N <= (int)2e5 && 0 < T && T <= (int)4e6); vector t(N - 1, 0); for(int &o : t) { cin >> o; assert(0 < o && o < 21); } cin >> K; assert(0 < K && K < N - 1); vector x(K, 0); for(int &o : x) { cin >> o; assert(x_max < o && 1 < o && o < N); x_max = o; } }