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

Example Input: ['X', 9737, 6673, 165, 5345, 'F', 'I', 'X', 2467, 'X', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'd', 'n', 'E'], [9725, 'G', 121, 'U', 2663, 'I', 'J', 2523, 'S', 'n', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'O', 2705, 5041, 8019, 'P']
Example Output: I, b, Q, z, v, 3523, 4717, a, A, Q, 5235, 1399, s, 5195, 1327

Example Input: ['o', 'k', '8037', '2095', 'E', 'l'], [4673, 'J', '8037', '2095', 't', 'F']
Example Output: 8037, 2095

Example Input: [7027, 'm', 329, '8507', '3149', '7237', 'M', 'h', 'h', 'K'], [4557, 6039, 'U', 641, 'e', '8507', '3149', '7237', 'M', 'h', 'g', 'Z', 'c']
Example Output:
8507, 3149, 7237, M, h