Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [6515, 'y', 2133, 'N', 'l', 'z', 'j', 'z', 'o', 'e', 3037, 8819, 's', 'T', 'w', 'v', 'x', '43', '921', '8129', '5871', '4641', 'v', '2017', '1465', '7041', '9355', 'T', 'Y', 9445, 5993, 3899, 'I', 5411, 8785], ['X', 7019, 7685, 9621, 'e', 'T', 'w', 'v', 'x', '43', '921', '8129', '5871', '4641', 'v', '2017', '1465', '7041', '9355', 'T', 'E', 8489, 437, 9253, 7857]
Output:
T, w, v, x, 43, 921, 8129, 5871, 4641, v, 2017, 1465, 7041, 9355, T