In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['k', 8005, 8523, 2775, 'i', 7401, 'l', 'N', '6303', '5619', '4949', 'R', 'U', 'n', '5967', '4275', '3889', 'I', '2513', '1303', 'v', 'j', 'i', 'A', 'F', 'n'], ['O', 5761, 1491, 3051, 'P', 'm', 2137, 'p', 6533, 'N', 'n', 'p', 9321, 'A', 3999, 'N', '6303', '5619', '4949', 'R', 'U', 'n', '5967', '4275', '3889', 'I', '2513', '1303', 'v', 'j', 'i', 't', 'w', 597, 'Z', 'T', 'u', 'U']