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

Ex Input:
['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]

Ex Output:
z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w


Ex Input:
['z', 'j', 'G', 'w', 'h', 5009, 'z', 'r', '1279', 'z', '1337', 'R', 'R', 9761, 'D', 713], ['a', 'T', 'A', 'z', 'r', '1279', 'z', '1337', 'R', 'J', 'z', 'L', 'P']

Ex Output:
z, r, 1279, z, 1337, R


Ex Input:
['V', 9655, 9833, 3611, 'e', 'l', 'B', '7405', '5515', '9451', 'x', 'e', '2975', '4501', '4317', '5443', '8663', 'k', 'R', 'U', 'Q', 'j', '9471', '8557', 'H', 'r', 'Q', 'R', 'I', 'd', '5821', 'O', 6473, 'h', 8417, 2237, 6905, 1875, 8077, 'w', 'P', 6181, 3883, 6205, 's', 929, 69, 'i'], [4317, 2809, 3787, 'J', '7405', '5515', '9451', 'x', 'e', '2975', '4501', '4317', '5443', '8663', 'k', 'R', 'U', 'Q', 'j', '9471', '8557', 'H', 'r', 'Q', 'R', 'I', 'd', '5821', 'g', 7365]

Ex Output:

7405, 5515, 9451, x, e, 2975, 4501, 4317, 5443, 8663, k, R, U, Q, j, 9471, 8557, H, r, Q, R, I, d, 5821