In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7577, 'x', 2307, 3175, 8541, 6673, 3199, 'G', 'f', '5361', '1553', 'N', 'H', '1015', 'Z', 'B', 'i', '9167', '2647', '3315', 'Y', '4335', 'A', 'r', 9413, 6739, 'T', 3487, 'E', 8269, 1689, 6789], [7371, 1671, 9699, 7309, 'w', 't', 'r', 417, 'K', 'O', 1201, 'f', '5361', '1553', 'N', 'H', '1015', 'Z', 'B', 'i', '9167', '2647', '3315', 'Y', '4335', 'A', 'B', 9207, 'k', 'W', 'R', 'd', 'e', 'x', 5299, 3409]