Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['k', 'Q', 'o', 1709, 'P', 1179, 'U', 's', 6353, '4173', '7017', '9049', '1371', '1169', '5223', '2159', 'p', '667', '1783', 'N', 'j', '5819', 'J', 'M', '8137', '9385', 't', 'o', '6989', 'G', 'G', '6101', 'W', '2683', 'x', 'a', 3419, 'R'], ['y', 'd', 'x', 'v', 'd', 'b', 'a', 5075, 'E', 3223, 6591, 6755, '4173', '7017', '9049', '1371', '1169', '5223', '2159', 'p', '667', '1783', 'N', 'j', '5819', 'J', 'M', '8137', '9385', 't', 'o', '6989', 'G', 'G', '6101', 'W', '2683', 't', 3973, 6453]
Output:
4173, 7017, 9049, 1371, 1169, 5223, 2159, p, 667, 1783, N, j, 5819, J, M, 8137, 9385, t, o, 6989, G, G, 6101, W, 2683