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

Example Input: ['o', 'R', 'l', 'y', 8351, 3995, 8667, 'X', 'r', 7749, 's', 9049, 'X', 10021, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'F', 4501, 'N', 'g', 'k', 1891, 8829, 'h', 4055], [3261, 'x', 5565, 'e', 773, 'j', 'h', 317, 5829, 'k', 's', 'I', 2339, 3391, 'L', 'U', 2339, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'g', 5447, 9137, 5965, 'F', 7181, 7811, 9655, 8301, 6751, 't', 1153, 657]
Example Output: L, 295, M, 6251, k, 925, 9911, 6105, o, 7871, T, h, 7613, 2341, 4205, L, j

Example Input: ['E', 'P', 'Z', '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'x', 9461, 2587], [9027, 289, 2515, 'k', 'N', 'i', 9689, '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'r', 'x', 737, 'a', 'w', 'K', 'S']
Example Output: 8337, L, 4245, M, M, H, 4531, B, p, 6961

Example Input: [4951, 4175, 's', 6005, 9551, 'O', 7357, 4795, 'a', 'h', 'c', 5783, 'k', 9537, 'V', 'b', '2305', '8523', 'K', 'O', 'Z', 'C', 'D', 'Y', 'd', '4495', 'J', 'q', 'x', 'l', 'W', 'O', 'l', 'v', 3579, 'g', 'i', 9361, 'o', 'D', 2879, 5889, 65, 'p', 'R', 6937, 6257], ['C', 6857, 'b', 'C', 9847, 'v', 'C', 3165, 7833, 'f', 5209, 9137, 'X', 8435, 'R', 'h', 'v', 3909, 'b', '2305', '8523', 'K', 'O', 'Z', 'C', 'D', 'Y', 'd', '4495', 'J', 'q', 'x', 'l', 'W', 'O', 'l', 'N', 1815, 'S', 'l', 'S', 631, 'F', 3349, 6489, 1515, 4695, 5211, 'r', 'Y', 1489]
Example Output:
b, 2305, 8523, K, O, Z, C, D, Y, d, 4495, J, q, x, l, W, O, l