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

Example Input: [2185, 'H', 9933, 6987, 'l', 'N', 3787, 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 't', 8763, 2723, 457, 8941, 9919], [2819, 4477, 'x', 'S', 'D', 1309, 4739, 'B', 'Z', 'K', 7141, 'I', 'x', 6709, 'p', 5629, 'M', 8669, 3157, 5169, 9737, 'Z', 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 'w', 'j', 5143, 6859, 8985, 8441, 'K', 'H', 's']
Example Output: H, K, X, I, 8517, a, M, e, 7443, 185, 6897, 8395, 3867, 4671, e, 2031, 877, T, 735, 1273, d, 7757, 2005

Example Input: ['c', 'G', 8225, 6329, '6291', '5279', 'n', 'A', 'J', 'n', 5221, 'r', 't'], ['k', 'M', 'Z', 'B', 4003, '6291', '5279', 'n', 'A', 'J', 'g', 'm']
Example Output: 6291, 5279, n, A, J

Example Input: [8387, 5923, 'U', 'C', '6763', 'q', '3341', '8655', 'J', 'h', 's', 'i', 'G', 'S', 6943, 7261, 8241, 563, 'n', 7081, 'F'], ['T', 1665, 'X', 'U', 'C', '6763', 'q', '3341', '8655', 'J', 'h', 's', 'i', 'Y', 'f', 'j', 'E']
Example Output:
U, C, 6763, q, 3341, 8655, J, h, s, i