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

Example Input: [2227, 8603, '9943', 'E', '4351', 't', 'l', 'x'], [5983, 'q', '9943', 'E', '4351', 'V', 4367]
Example Output: 9943, E, 4351

Example Input: ['A', 'Y', 'B', 5539, 'i', 'u', 3953, 7153, '3019', '4737', 'Q', 'Z', '223', '7501', '1205', 'u', 'F', 'i', 4673, 5277, 2169, 'v'], [7917, 'p', 'K', 'D', 'S', 'U', 'w', '3019', '4737', 'Q', 'Z', '223', '7501', '1205', 'u', 'd', 8111, 'Q', 'b', 7059, 'L', 'u', 5107]
Example Output: 3019, 4737, Q, Z, 223, 7501, 1205, u

Example Input: ['h', 1253, 'U', 1583, 6321, 5759, 5305, 9541, 9687, 't', 'y', 'c', 9999, 'V', 'Q', 2315, 'h', 'l', 'L', 'g', 'v', '1197', '6199', 'p', 'V', 'I', 'W', 'x', 'T', '7439', 'e', '2921', '5851', '3729', '7955', '10031', '6643', '7979', 'f', 'u', 487, 'X', 'r', 'F', 't', 'V', 'G', 477, 'J', 'J', 1119, 2827, 7375, 5919], ['e', 'u', 7715, 'H', 7129, 'Y', 'L', 'g', 'v', '1197', '6199', 'p', 'V', 'I', 'W', 'x', 'T', '7439', 'e', '2921', '5851', '3729', '7955', '10031', '6643', '7979', 'f', 'V', 737, 5843, 'Q', 5781, 'N', 'b', 'f', 'R', 'G', 3119, 3891, 'Z']
Example Output:
L, g, v, 1197, 6199, p, V, I, W, x, T, 7439, e, 2921, 5851, 3729, 7955, 10031, 6643, 7979, f