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

Example Input: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]
Example Output: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u

Example Input: [4665, 'U', 1617, 4891, 3015, 'k', '9381', '4077', 'f', 'T', 'G', 'z', '9879', 'q', 'f', 'g', 'G', '8765', 'D', '1755', 'B', 'H', 'y', 6819, 9689, 4667, 6651, 'Z', 4359, 3239, 'k'], [4575, 7833, 7267, 't', 'C', 'k', '9381', '4077', 'f', 'T', 'G', 'z', '9879', 'q', 'f', 'g', 'G', '8765', 'D', '1755', 'v', 4883, 'l', 3055]
Example Output: k, 9381, 4077, f, T, G, z, 9879, q, f, g, G, 8765, D, 1755

Example Input: ['y', 'X', 4149, 'w', 'W', 1705, 3677, 'c', 'z', 5077, 'y', 5667, 'l', 's', 'L', 'J', 'N', '3815', '1325', '8951', 'L', 'U', '5083', 'l', 'e', '7267', 'y', '2779', '4889', '4805', 'c', 'g', '87', 'X', 'U', 'b', 5977, 4289, 'r', 7915, 9653], [1321, 2925, 3673, 225, 1255, 1431, 'K', 'Z', 7155, 737, 'l', 's', 'L', 'J', 'N', '3815', '1325', '8951', 'L', 'U', '5083', 'l', 'e', '7267', 'y', '2779', '4889', '4805', 'c', 'g', '87', 'X', 'U', 'N', 'U', 'o', 'n', 'i', 'o', 'q', 'q', 1137, 'm', 8879, 725, 8749, 5903, 711, 'S', 'S']
Example Output:
l, s, L, J, N, 3815, 1325, 8951, L, U, 5083, l, e, 7267, y, 2779, 4889, 4805, c, g, 87, X, U