In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Ex Input:
[7577, 'i', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'Z', 11, 6915, 'n', 'j', 113, 6505, 6281, 2205], ['Q', 'V', 'A', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'J', 'c', 5873, 1693]

Ex Output:
8411, N, 4691, 3661, 9511, T, v, D, H, A, 6551, v, 605, 2753, 2475, N, S, z, 9773, n


Ex Input:
[2765, 'r', 'p', 'k', 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'p', 'E', 2613, 9463, 55, 'w'], [1351, 'U', 'i', 5485, 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'A', 'n', 'Q', 'z', 'U', 'E']

Ex Output:
G, 6021, 1013, s, f, 6081, 4495, 2193


Ex Input:
['R', 'O', 8825, '743', '4101', 'N', '9215', 'A', 'P', '2263', '3707', 'A', 'C', '2857', '7225', 'P', 'Y', 6533, 4697, 4843, 'L', 1847, 'z', 'R', 6073], [5253, 'w', 'j', 'U', 6461, 9367, 'p', 6153, '743', '4101', 'N', '9215', 'A', 'P', '2263', '3707', 'A', 'C', '2857', '7225', 'P', 'z', 8233, 'Y', 6341, 'R', 4879, 29, 'f']

Ex Output:

743, 4101, N, 9215, A, P, 2263, 3707, A, C, 2857, 7225, P