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: [3277, 9365, 4973, 'q', 'S', 6337, 3661, 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'l', 'w', 5939, 6533, 'h', 1877, 10017, 'q'], ['L', 8235, 'n', 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'O', 1591, 'C', 2553, 2613, 'E', 3577, 'u']
Example Output: Q, J, c, 3205, 2707, 1869, 1285, z, c

Example Input: ['e', 2777, 'v', '4331', '1245', '7117', 'C', '9515', 'V', '9219', '7765', '2945', 'v', 'O', 113, 'd', 5095, 7237, 7219, 1527, 'f'], [7141, 'o', 'P', 'O', 'P', 9865, 6955, 259, 9459, '4331', '1245', '7117', 'C', '9515', 'V', '9219', '7765', '2945', 'v', 's', 3669, 'u', 'd', 'v']
Example Output:
4331, 1245, 7117, C, 9515, V, 9219, 7765, 2945, v