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

Ex Input:
['G', 'w', 303, 3489, 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'i', 4849, 4213, 6515, 2843, 'w', 's', 'I', 'i', 'T', 5141, 'U', 3963, 243, 4619, 9651, 'Z', 'u', 'L', 5451, 'v'], [259, 'j', 'd', 'z', 1223, 2837, 'W', 6601, 'e', 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'j', 'T', 3007, 'r', 3347, 'L', 3661, 2089, 8855, 'Y', 4855, 2825, 2471]

Ex Output:
P, 3623, 5367, q, n, s, X, 7543, 6035, 9099, 5525, 3181, p, 9521, I, 8151, 5793, 8009, o, 8671, Q, 2929


Ex Input:
['R', 't', 'y', '2887', 'x', 4883], [5691, 9457, 'y', '2887', 'u', 'Y']

Ex Output:
y, 2887


Ex Input:
['G', 1259, 'N', 'u', 'p', '8773', 'L', 'k', 'd', 's', 'U', 1709, 'E', 3165, 'q'], ['q', 8777, 'R', 'I', 365, 4917, 'p', '8773', 'L', 'k', 'd', 's', 'H', 5313, 6781]

Ex Output:

p, 8773, L, k, d, s