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

Example Input: ['d', 2317, 'y', 8487, 'r', 4789, 5525, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'W', 'U', 5749, 9533, 'T', 'Z', 'x'], [1401, 'F', 9303, 'w', 4629, 9053, 'k', 7351, 1261, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'o', 'q']
Example Output: 3961, 1747, v, 7423, 847, a, 4969, T, L, 5383

Example Input: [1477, 'o', 1059, 'R', 't', 97, 7251, 1765, 'V', 1139, 'h', 7923, 'J', 'E', '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'Y', 9333, 'm', 'V', 'T', 3427, 3397, 507, 'Y', 'k', 907, 'b', 8791, 'A'], ['Y', 6653, 'v', 9685, 'D', 2111, 'd', 'y', 5885, 5653, 'i', 6307, 2051, 7807, '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'd', 9367, 'Y', 3109, 7395, 'R', 'L', 9041]
Example Output: 6945, C, j, 4891, 4001, j, f, 8117, T, 2147, I, 3759, 5781, g

Example Input: ['W', 'h', 6569, 'q', 4961, 'x', 2035, 9319, 'N', 'p', 'k', '1045', '5315', '6273', 'I', '7219', 'D', 'w', 'e', 'C', '1491', '7333', 'y', '6945', 'x', 't', 'R', '6763', 'z', 'a'], [9335, 'Z', 'o', 3099, 1943, 'U', 8989, 2007, 9055, 9911, 3289, 'L', 8649, 'h', 'X', 7883, 'p', 'k', '1045', '5315', '6273', 'I', '7219', 'D', 'w', 'e', 'C', '1491', '7333', 'y', '6945', 'x', 't', 'R', '6763', 'r', 'D', 'S', 9285, 'k', 4177, 6823, 7239, 'h', 8585, 'r', 'd', 'b', 'E']
Example Output:
p, k, 1045, 5315, 6273, I, 7219, D, w, e, C, 1491, 7333, y, 6945, x, t, R, 6763