Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['p', 2615, 'b', 4209, 'k', 9313, 10015, 'k', 'W', 'x', 2627, 6171, 'o', '7931', 'w', '9437', '1733', '7263', 'U', 'F', 'G', 'Q', 'i', 'D', '4095', 'P', 'm', 'j', '7891', 's', 4423, 'I', 1111, 'h', 9175, 495, 6781, 4265, 9283, 'x', 'M', 603, 'L'], [9721, 225, 'm', 2783, 2527, 'T', 3903, 159, 4991, 2165, 'q', 7645, 'v', 565, 4359, 4531, 'o', '7931', 'w', '9437', '1733', '7263', 'U', 'F', 'G', 'Q', 'i', 'D', '4095', 'P', 'm', 'j', '7891', 'V', 'n', 'g', 8439, 2859, 5221, 9107, 8811, 'g', 3205]
Output:
o, 7931, w, 9437, 1733, 7263, U, F, G, Q, i, D, 4095, P, m, j, 7891