In First But Second

easy
1. You will be given two Arrays with their lengths m and n. 2. You need to print all occurrences of elements that are presnet in the first array but not in second. 3. Input is handled for you 4. It is a functional problem ,please do not modify main()

Input Format

Input is handled for you.

Output Format

Print all occurrences of elements that are presnet in the first array but not in second

Constraints

1 <= N, M <= 107
 1 <= A[i],B[i] <= 1018

Notice

Try First, Check Solution later

1. You should first read the question and watch the question video.
2. Think of a solution approach, then try and submit the question on editor tab.
3. We strongly advise you to watch the solution video for prescribed approach.

Example

Input
5
3 5 6 9 1 
8
1 9 7 7 6 10 9 1
Output
3 5
Previous
Height Of Heap
Next
Intersection Of Two Arrays

Related Questions