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

Example Input: ['P', 8059, 'A', 385, 't', 1999, 269, 'T', 'B', 'S', '5291', 'b', 'x', 'o', '7813', 'R', 'D', '1301', '2079', 'H', '3587', '1325', '8977', '5565', 'u', 'v', 'D', 'I', '6267', 'H', '6663', 'I', 'B', 'f', '2383', 'K', 6409, 'W', 'h', 9673, 1829, 'K', 'A'], [1099, 1609, 'q', 9603, 'B', 3251, 'o', 'x', 1197, 'O', 'u', 't', 'K', 'c', 1185, 'l', 'v', 'e', 'q', 9255, 'u', 'S', '5291', 'b', 'x', 'o', '7813', 'R', 'D', '1301', '2079', 'H', '3587', '1325', '8977', '5565', 'u', 'v', 'D', 'I', '6267', 'H', '6663', 'I', 'B', 'f', '2383', 'V', 6939]
Example Output: S, 5291, b, x, o, 7813, R, D, 1301, 2079, H, 3587, 1325, 8977, 5565, u, v, D, I, 6267, H, 6663, I, B, f, 2383

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: [5083, 'i', 9255, 'v', 'j', 'r', 7493, 1397, 5365, '3987', '7757', '1937', '8601', '9721', '5723', '1583', 'Y', '3409', 'F', 'X', 9157, 'd', 'f'], ['h', 21, 4833, '3987', '7757', '1937', '8601', '9721', '5723', '1583', 'Y', '3409', 'p', 6017, 'U', 8717, 6905, 'E', 'q', 'Z', 3315]
Example Output:
3987, 7757, 1937, 8601, 9721, 5723, 1583, Y, 3409