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

Ex Input:
[6423, 'w', 'K', 'm', 'S', 'X', '8857', 'r', '9809', 'a', 'g', '7297', 'H', 'Q', 'W', 'I', 'm', '3277', 'm', 'W', 'L', 'H', 'S', 'X', 'y', 2479, 'p', 'B', 7193, 8327, 'X', 8547, 2261, 'X', 477, 535, 'w', 'f', 2923], [5389, 6751, 'F', 'l', 9579, 'A', 'S', 'X', '8857', 'r', '9809', 'a', 'g', '7297', 'H', 'Q', 'W', 'I', 'm', '3277', 'm', 'W', 'L', 'H', 'O', 't', 8821, 'H', 3919, 7667, 'x', 'v', 4035, 3179, 9235, 5679, 'c', 'P']

Ex Output:
S, X, 8857, r, 9809, a, g, 7297, H, Q, W, I, m, 3277, m, W, L, H


Ex Input:
[5861, 'Z', 1225, '3813', '8297', 't', '9301', 'd', 9323, 825], [5491, 'a', '3813', '8297', 't', '9301', 'Y', 'L', 'j', 5005]

Ex Output:
3813, 8297, t, 9301


Ex Input:
[6179, 587, 9299, 2371, 'X', 'S', 'N', 2663, 2655, 'Y', 's', 4055, 2067, 'z', 'x', 'r', 'e', 'q', 'y', 735, 'a', '5883', '641', '5565', 'm', '955', 'E', 'Z', 'I', 'M', 'r', '2957', 'e', 'f', 'x', '5769', 'k', 'H', 'O', '3575', 's', 'F', '5733', 'N', '5149', 'G', 'X', 'm', 'm', 'y', 'R', 'q', 3391, 1405, 3859, 'u', 'p', 8407, 8029, 'F', 299, 1709, 2881, 'I', 'k'], [9605, 'h', 'v', 'W', 'Z', 3501, 2591, 'a', '5883', '641', '5565', 'm', '955', 'E', 'Z', 'I', 'M', 'r', '2957', 'e', 'f', 'x', '5769', 'k', 'H', 'O', '3575', 's', 'F', '5733', 'N', '5149', 'G', 'X', 'm', 'G', 'I', 9171, 5623, 1681, 'a', 6995, 'r', 't', 'R', 4501, 115, 833, 'c', 'E', 'x', 5749, 4151, 4705, 7001, 6119, 'v', 'R']

Ex Output:

a, 5883, 641, 5565, m, 955, E, Z, I, M, r, 2957, e, f, x, 5769, k, H, O, 3575, s, F, 5733, N, 5149, G, X, m