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

Example Input: ['Y', 'l', 6297, 9773, '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'T', 'O', 2961, 6077, 'L', 5737, 99, 2363, 'A', 'I', 'E', 5649, 4127, 'm', 3085], ['g', 8141, 'Y', 7433, 1501, 2423, 'P', 8359, 8589, 7265, 265, 'N', 'J', 8251, 'f', '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'K', 9051, 'Q', 'M']
Example Output: 6077, B, x, C, 7371, 5635, 9551, 8421, 6587, Y, L, i, 1275, J, s, C, 10005, x, 9473, I

Example Input: ['d', 8577, 821, 4925, 851, 1015, '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'Y', 5707, 641, 'R', 's', 6601, 6037, 8129, 207, 'T', 3349, 549, 'd', 6875, 'i', 'M', 'U', 9157, 'W', 781, 'o', 4519, 'T', 'j'], ['i', 'm', 'y', 1645, 'O', 'g', '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'a', 4119, 1339, 'J']
Example Output: 9071, l, 7883, b, 3341, 2315, E, T, m, 2545, y, Y, 2633, f, q, 3705, 2923, z, N, S, T, c, J, P, 9483, y, 8367, m, m

Example Input: ['k', 5715, 'z', 5527, 4519, 'c', 'p', 1949, 1467, 'k', 'u', 9247, 7605, 'x', 'm', '3937', 'U', 'y', '8937', 'A', '1175', '2401', '2295', '9773', '8289', '5329', '8947', '9269', '5159', '6631', 's', 'l', '5865', 'L', '2477', 'f', 'p', 'O', 8151, 5787, 433, 4483, 'w', 4435, 11, 'O', 5971, 7781], [13, 5389, 2013, 'Y', 6677, 'e', 'x', 5961, 'T', 843, 'R', 8787, 6731, 'p', 2597, 3393, 2587, 'm', '3937', 'U', 'y', '8937', 'A', '1175', '2401', '2295', '9773', '8289', '5329', '8947', '9269', '5159', '6631', 's', 'l', '5865', 'L', '2477', 'A', 'k', 'o', 135, 'H', 'K', 7293, 'O', 'M']
Example Output:
m, 3937, U, y, 8937, A, 1175, 2401, 2295, 9773, 8289, 5329, 8947, 9269, 5159, 6631, s, l, 5865, L, 2477