In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['y', 407, 'b', 'M', 6787, 1597, 'g', 'u', 7619, 'N', 'w', 'e', 1029, 4283, 6073, 761, 5509, 'e', 6101, 4477, 'm', 725, 'f', '2775', 'T', 'I', '6203', '855', '4401', '5045', 'z', '5021', '8485', 'p', '9947', '1887', 'T', 'n', '3277', '3019', '4159', 't', '8279', '3471', '7035', 'f', 8673, 4247, 231], [5723, 'T', 4405, 'p', 'S', 'f', '2775', 'T', 'I', '6203', '855', '4401', '5045', 'z', '5021', '8485', 'p', '9947', '1887', 'T', 'n', '3277', '3019', '4159', 't', '8279', '3471', '7035', 'c', 2631, 'N', 8121, 3915, 7253, 2105, 'F', 7175, 3823, 'a', 3357, 851, 9861, 'Z', 3251, 631, 'Z', 'J', 5731, 1165, 'D']