Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2061, 5447, 459, 'X', 81, 'A', 'e', 'g', 6595, 8267, 'k', 'F', 5211, 6549, 6959, 4121, 'y', 6123, 7553, 'r', 'm', 'N', '5099', '9875', 'U', '3137', '9339', 'e', 'k', '1053', 'G', 'f', 'B', '4753', '9259', '3475', '139', 'f', '7419', '2465', '5865', '6005', 'J', 'M', 'v', 8487, 'f', 2097, 1853], [1995, 5047, 8895, 6485, 'i', 'I', '5099', '9875', 'U', '3137', '9339', 'e', 'k', '1053', 'G', 'f', 'B', '4753', '9259', '3475', '139', 'f', '7419', '2465', '5865', '6005', 'J', 'M', 'N', 's', 'H', 's', 2797, 'm', 'S', 'y', 4235, 'q', 'o', 4759, 249, 9911, 7465, 3029, 'Y']
A:
5099, 9875, U, 3137, 9339, e, k, 1053, G, f, B, 4753, 9259, 3475, 139, f, 7419, 2465, 5865, 6005, J, M