In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5589, 2969, 10023, 9999, 3785, 4597, 3063, 'K', '9943', '1449', '9263', '4781', 'A', 'e', '9303', '5225', 'z', '4155', '2189', 'x', '439', '7979', 'k', '7651', 's', 'h', 'Z', 'c', '7179', 'L', '9317', 'G', '5167', 'F', 2573], ['e', 's', 9037, 8155, 'i', 'N', 3907, 'o', 2011, 2377, 'U', 'I', 9267, 9139, 'e', 'K', '9943', '1449', '9263', '4781', 'A', 'e', '9303', '5225', 'z', '4155', '2189', 'x', '439', '7979', 'k', '7651', 's', 'h', 'Z', 'c', '7179', 'L', '9317', 'G', '5167', 'N', 2455, 'A', 35, 225, 381, 10001, 3971, 'E', 'Z', 'y', 'N', 7221]