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

Example Input: [2087, 'D', 815, 'a', 6837, 'U', 1683, 9549, 'Q', 4313, 2991, 8685, 'Q', 1253, 'O', 9367, 4835, 5191, 'L', 'e', '9385', '2631', '5849', '2469', 'S', 'Y', '967', '2589', '9057', '9315', '9591', '5801', 'B', '5991', 'g', '7317', '4923', 'L', 'B', 'N', '8863', 'v', 'q', '2887', 'f', '9939', 'd', 'i', 'a', 'S', 7967, 'N', 'r'], [8841, 'y', 'F', 1845, 'X', 's', 8663, 'B', 'h', 5885, 'p', 5555, 3051, 2359, 'q', 'm', 2675, 53, 'U', 7017, 8161, 4755, 'B', 5367, 8577, 'H', 4223, 'e', '9385', '2631', '5849', '2469', 'S', 'Y', '967', '2589', '9057', '9315', '9591', '5801', 'B', '5991', 'g', '7317', '4923', 'L', 'B', 'N', '8863', 'v', 'q', '2887', 'f', '9939', 'd', 'Z', 'R', 'X', 'j', 'T', 'N', 'V', 2931, 'X', 'g', 'P', 2979, 'o', 'B', 8283, 'r', 'D', 1051, 'E']
Example Output: e, 9385, 2631, 5849, 2469, S, Y, 967, 2589, 9057, 9315, 9591, 5801, B, 5991, g, 7317, 4923, L, B, N, 8863, v, q, 2887, f, 9939, d

Example Input: [6507, 8623, 6879, '1327', '6971', 'd', 'A', 3663, 7831], [1711, 4751, 3479, '1327', '6971', 'd', 'u', 1771]
Example Output: 1327, 6971, d

Example Input: ['C', 2215, 7899, 'i', 'J', 4003, 5325, 'o', 'W', 2489, 'y', 'B', 6125, 'w', 9643, 853, 7761, 887, 5001, 7259, 7783, 'Z', 'C', 'f', 'J', '125', 'o', 'x', '7417', '4653', 'K', '4229', '4779', '2943', '4803', '5573', '7193', '3065', 'p', 'q', '3319', 'U', '3301', '5607', 'O', 'K', '3459', 'X', '3757', 't', 'D', 'I', 's', 'H', 'h', 7731, 'H', 'H', 571, 8113, 'i', 'V', 6361, 'R', 4027, 'O', 1535, 'E', 8385, 9277, 'x', 4407, 'H', 4271, 's', 4865, 'V'], [2343, 'G', 7473, 'A', 'T', 9811, 'Y', 5853, 'O', 4295, 'D', 2637, 7703, 6575, 9791, 649, 'i', 'F', 5123, 4723, 6149, 8039, 7187, '125', 'o', 'x', '7417', '4653', 'K', '4229', '4779', '2943', '4803', '5573', '7193', '3065', 'p', 'q', '3319', 'U', '3301', '5607', 'O', 'K', '3459', 'X', '3757', 't', 'D', 'Q', 'D', 'L', 'M', 'v']
Example Output:
125, o, x, 7417, 4653, K, 4229, 4779, 2943, 4803, 5573, 7193, 3065, p, q, 3319, U, 3301, 5607, O, K, 3459, X, 3757, t, D