In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['k', 'j', 5657, 811, 7845, 'a', 5183, 1165, 'G', 5419, 'h', 29, 'v', 4137, 'w', 2805, 'v', '9649', 'c', 'm', 'h', 'I', 'Q', 'V', '5857', 'f', '385', '957', 'n', '1869', 'U', 'X', '3759', 'P', '9577', 'Y', 'p', 'N', 'c', 'X', 'c', 6941, 339, 'u', 971, 'w', 'N', 1839, 'w', 's', 7721, 'K', 1377, 9475], [3889, 1347, 9795, 'm', 'j', 'k', 3791, 4897, 5465, 'a', 'b', 'U', 'v', '9649', 'c', 'm', 'h', 'I', 'Q', 'V', '5857', 'f', '385', '957', 'n', '1869', 'U', 'X', '3759', 'P', '9577', 'Y', 'p', 'N', 'c', 'L', 'G', 1145, 'W', 'l', 3585, 3265, 'p']