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

Example Input: [1065, 2741, 'w', 'B', 'X', '5865', 's', '2579', '3679', 'K', 4415, 5237], [9019, 4795, 8363, 1935, 9883, 'X', '5865', 's', '2579', '3679', 'y', 4605, 8603, 1243, 9199]
Example Output: X, 5865, s, 2579, 3679

Example Input: ['e', 'h', 's', 'a', 'H', 'T', 2055, 'K', 's', 4269, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'i', 'N', 9599, 8065, 'V', 'H', 7675, 4263, 'Z', 7307], ['V', 'z', 'C', 'S', 'F', 'a', 's', 6773, 'C', 'e', 9893, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'O', 'Q', 709, 'G', 167, 3287, 'w', 6213, 'g']
Example Output: 8015, T, 1633, K, T, Z, s, x, 7515, 9771, 7667, K, 3065

Example Input: ['A', 'f', 'D', 9931, '9909', 'j', 'd', '8691', 'v', 'M', '6089', '4361', '3215', '9753', 'i', 7755, 'h', 'K', 'q', 4635, 'g', 'G', 'g'], ['l', 4775, 'l', 'y', 9393, 'C', 'g', '9909', 'j', 'd', '8691', 'v', 'M', '6089', '4361', '3215', '9753', 'y', 'X', 'P', 'N', 'Q', 'C', 'w', 9901]
Example Output:
9909, j, d, 8691, v, M, 6089, 4361, 3215, 9753