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

Ex Input:
['Z', 't', 8725, 'H', 6417, 7935, 'r', '831', 'c', '8509', '8765', '847', '9425', '3691', 'h', 'O', 'j', 'G'], [1931, 'E', 'Y', 9491, '831', 'c', '8509', '8765', '847', '9425', '3691', 'M', 8629, 'z', 'j', 3887]

Ex Output:
831, c, 8509, 8765, 847, 9425, 3691


Ex Input:
[2785, 'M', 'd', 8001, 'z', 'G', 5661, 2853, 9397, 4757, 'b', 'f', 989, 'U', 'K', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'P', 'G', 'v', 4813, 'G', 6799, 9011, 'z', 4267], ['T', 'j', 'I', 6037, 'w', 'g', 3555, 9897, 9741, 5673, 5825, 407, 2157, 6461, 6095, 4477, 'Y', 'Y', 1773, 'N', 4151, 'j', 2911, 7543, 'b', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'C', 9075, 'j', 'o', 9087, 3137, 'G', 'j', 'p', 'd', 'N', 2085, 831, 1041, 1181, 'Y', 9409, 2267, 'q', 'w', 'w', 'O', 7523]

Ex Output:
3583, 4559, 2581, n, t, s, 987, o, 5487, c, E, 4505, 6765, 8305, N, s, 9393, q, r, 5487, 6365, 9377, M, 6661, 8579, 9899, x, 5739


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