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: ['M', 6637, 'd', 'D', 8611, 'U', 'm', 'y', 8085, 'M', 'W', 4845, 'l', 2477, 'f', 'B', 's', 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'c', 'b', 9083, 9449, 7629, 5633, 3843, 'R', 9421, 2693, 'M', 'b', 3739, 'l', 333], [6017, 'W', 2775, 'W', 4759, 'W', 'q', 'k', 'f', 4299, 5523, 'E', 5391, 'd', 2611, 'l', 5849, 9603, 3831, 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'o', 4621, 'N', 'c', 'R', 'V', 'p', 'm', 7625, 9815, 'b', 8449]
Example Output: D, 7597, S, 2907, o, 1905, p, S, C, S, 6403, D, V, 5265, L, D, 6031, 2585, 7087, 3941, 573

Example Input: [2499, 'r', 5695, 7917, 'x', 'R', 547, 6293, 'P', 'R', '3639', '8503', '6843', '437', '8541', 'J', 'o', '8367', 'y', 'j', '861', 'G', 4305], [2207, 'h', '3639', '8503', '6843', '437', '8541', 'J', 'o', '8367', 'y', 'j', '861', 'I', 1047, 3379, 'W', 'Z', 'z', 6791, 'C', 8111]
Example Output:
3639, 8503, 6843, 437, 8541, J, o, 8367, y, j, 861