In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 1617, 'J', 'B', 'f', 931, 6715, 7745, 5823, 'I', 'X', 'N', 2527, '8543', '9913', '1683', 'l', '7965', '5707', '7215', 'N', 'v', 'T', '9981', 'r', '4309', 'T', 'h', 3855, 485, 8677, 4945, 'L'], ['B', 8271, 'h', 'e', 5775, 'Q', 2691, '8543', '9913', '1683', 'l', '7965', '5707', '7215', 'N', 'v', 'T', '9981', 'r', '4309', 2259, 1377, 5751, 'm', 2899, 4797, 'i', 5681, 'w', 'j']