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

Example Input: ['c', 'h', 9399, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'i', 'W', 'T', 9917, 'F', 'g', 8159], [4949, 'I', 'r', 4087, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'z', 9843]
Example Output: U, e, 1183, 9537, K, e, p

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: [7333, 505, 1903, 2807, 7295, 'd', 3373, 3485, 6841, 'T', 'f', 'j', 'U', 589, 'F', 715, 's', 'O', 'r', 'z', '7653', 'I', 't', 'w', '8935', 'C', '6581', '2143', '4053', 'm', '3821', 'Z', 'X', '2827', 'v', 'o', 1195], [1223, 5367, 6431, 'U', 283, 'P', 't', 'Q', 'X', 'O', 's', 'O', 'r', 'z', '7653', 'I', 't', 'w', '8935', 'C', '6581', '2143', '4053', 'm', '3821', 'Z', 'X', '2827', 'v', 'v', 'd', 'X', 8557, 'c', 6857, 5961, 'z', 5351, 'C', 5401, 5497, 2131, 8579, 'U', 'd', 'R']
Example Output:
s, O, r, z, 7653, I, t, w, 8935, C, 6581, 2143, 4053, m, 3821, Z, X, 2827, v