In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 167, 4283, 'l', 247, 4197, 3397, 'Z', 'F', 2835, 4273, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'P', 'U', 'G', 'X', 7049, 'q'], ['z', 'p', 'L', 'A', 'o', 391, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'I', 8741, 3159, 't']