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

Example Input: ['x', 7099, 9059, 865, 'S', 'l', 'V', 8579, 'r', 2823, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'X', 'Q', 'V', 'C', 1583, 531, 'u'], ['T', 7357, 4783, 967, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'U', 229, 'P', 'x', 'T', 681, 863]
Example Output: 9603, c, 1545, 7041, g, d, 1281, 3849, s, 3959

Example Input: [5401, 'j', 'y', 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'r', 'Z', 'F', 2683, 8021, 'c', 8229, 1989, 'm', 'r', 'O', 393, 2007, 9669, 'g', 8273], [6117, 7069, 'N', 'b', 7691, 3999, 8865, 1449, 'J', 'H', 'n', 'S', 7143, 6141, 2137, 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'h', 4013, 9577, 3799]
Example Output: I, X, o, P, F, Z, N, 3703, V, b, I, 6417, c, 5287, K, 9693

Example Input: ['t', 4949, 2605, 'y', '1073', '1027', 'J', '5087', '1741', 'W', 'i', 6835, 1859, 'W', 'h', 'R'], ['b', 5137, '1073', '1027', 'J', '5087', '1741', 'W', 'o', 'x', 'm']
Example Output:
1073, 1027, J, 5087, 1741, W