Problem

10 /21


Two arrays

Problem

Given two arrays of numbers. It is required to display those elements of the first array (in the order in which they appear in the first array) that are not in the second array.
 
Input
The first input line contains the number N - the number of elements in the first array. On the second line  - N numbers (array elements). The third line contains the number M - the number of elements in the second array. On the fourth line  - elements of the second array.
The number of elements of each array does not exceed 100. The modulo elements themselves do not exceed 1000. All numbers are integers.
 
Output
Display those elements of the first array that are not in the second one. You must output the elements in the order in which they appear in the first array.
 
Examples
# Input Output
1
7
3 1 3 4 2 4 12
6
4 15 43 1 15 1
3 3 2 12