In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6179, 587, 9299, 2371, 'X', 'S', 'N', 2663, 2655, 'Y', 's', 4055, 2067, 'z', 'x', 'r', 'e', 'q', 'y', 735, 'a', '5883', '641', '5565', 'm', '955', 'E', 'Z', 'I', 'M', 'r', '2957', 'e', 'f', 'x', '5769', 'k', 'H', 'O', '3575', 's', 'F', '5733', 'N', '5149', 'G', 'X', 'm', 'm', 'y', 'R', 'q', 3391, 1405, 3859, 'u', 'p', 8407, 8029, 'F', 299, 1709, 2881, 'I', 'k'], [9605, 'h', 'v', 'W', 'Z', 3501, 2591, 'a', '5883', '641', '5565', 'm', '955', 'E', 'Z', 'I', 'M', 'r', '2957', 'e', 'f', 'x', '5769', 'k', 'H', 'O', '3575', 's', 'F', '5733', 'N', '5149', 'G', 'X', 'm', 'G', 'I', 9171, 5623, 1681, 'a', 6995, 'r', 't', 'R', 4501, 115, 833, 'c', 'E', 'x', 5749, 4151, 4705, 7001, 6119, 'v', 'R']