Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['v', 6053, 4093, 'L', 1359, 'K', 6449, 5215, 3431, 2881, 9683, 9057, 'Q', '9889', 'C', '1689', '3993', '4929', '3371', '4835', 'T', 'Z', 'j', '3337', '8615', 'g', 'l', '487', 'z', '6309', '9561', '9503', 'q', 'o', '7025', '651', 'u', 'W', '8999', 'Y', 'E', 'a', 5189, 'T'], [823, 5351, 5161, 'E', 'H', 'r', 't', 2465, 2731, 't', 'b', 7247, 'x', 'Q', '9889', 'C', '1689', '3993', '4929', '3371', '4835', 'T', 'Z', 'j', '3337', '8615', 'g', 'l', '487', 'z', '6309', '9561', '9503', 'q', 'o', '7025', '651', 'u', 'W', '8999', 'Y', 'S', 7611, 1821, 4251, 6415, 'p', 4247, 'k', 2707, 1127, 'x', 3467, 'u', 9221, 2961, 2331, 5167, 'Y', 5473, 7113, 3319, 5797, 'a', 441, 'Z', 'V']
Output:
Q, 9889, C, 1689, 3993, 4929, 3371, 4835, T, Z, j, 3337, 8615, g, l, 487, z, 6309, 9561, 9503, q, o, 7025, 651, u, W, 8999, Y