Execution time limit is 1 second

Runtime memory usage limit is 128 megabytes

Two arrays of integers are given. Print the elements from the first array (in the same order like they are given in the first array), that are absent in the second array.

First given number $n$ of elements in the first array, then given $n$ integers — the elements of array. Then given the number of elements $m$ in the second array. Then given elements of the second array. The number of elements in each array is not greater than $100$. All elements are integers.

Print in the first line the number of required elements. In the second line print those elements of the first array, that are absent in the second array in the same order like in the first array.

Input #1

Answer #1