#include<stdio.h>

int main()
{
    int n, q, ncount, qcount;
    int a[20], m[200];


    scanf("%d", &n);
    for (ncount = 0; ncount < n; ncount++)
      scanf("%d", &a[ncount]);

    scanf("%d", &q);
    for (qcount = 0; qcount < n; qcount++)
      scanf("%d", &m[qcount]);

    retuen 0;
}