In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4067, 'U', 9527, '5533', 'h', '623', 't', 'H', '1369', '7531', 'y', 'S', '10013', '3825', '467', 'Z', '1863', 'k', '3419', 'U', 'd', 'X', 'X', 'C', 'E', 'w', 'E', 'I', 'N', 'w', 'N', 'f', 6509], [7431, 8039, 7711, 4675, 9739, 1155, 'f', 'C', 8813, 'H', 9551, 'z', '5533', 'h', '623', 't', 'H', '1369', '7531', 'y', 'S', '10013', '3825', '467', 'Z', '1863', 'k', '3419', 'U', 'd', 'X', 'u', 7997, 4637, 'D']