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

Example Input: ['y', 'b', 'A', 'K', 887, '9169', '1575', '5233', '1749', '5739', 'A', 'V', 8989], [3381, 5213, 9463, 8631, 2091, '9169', '1575', '5233', '1749', '5739', 'h', 1679, 8181]
Example Output: 9169, 1575, 5233, 1749, 5739

Example Input: [9779, 'C', 8839, 1257, 9375, 6513, 3027, 'c', 4415, 8523, 3873, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'Z', 993], ['H', 'e', 4231, 'R', 1623, 773, 2271, 'w', 'V', 8053, 3873, 'x', 'O', 'S', 311, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'v', 'F', 'L', 6355, 't', 1707, 'y', 2711, 'u', 5697]
Example Output: 4225, 3367, c, f, 477, 7185, 6657, z, f, H, l, p, F, 7941, M, 4439, R, 9505, s, R, x, w

Example Input: [6065, 4497, '8261', 'W', '8053', 'R', 'E', 2349], [5325, 239, '8261', 'W', '8053', 'K', 2439, 'G']
Example Output:
8261, W, 8053