In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['O', 'h', 6979, 8671, 9161, 'V', 'Y', 'p', 3109, 'B', 'f', '385', '5195', 'F', '5175', '783', '8163', '5121', '9407', '9505', 'U', '5695', '6503', 'T', '605', 'K', '2591', '781', 'O', 'F', 'E', '6769', 'D', 'p', 'g', '377', '9963', '9997', 'k', 'f', 'I', 8975, 'f', 'u', 7803, 813, 'q', 'B', 7555, 'y', 'G', 4147, 'X', 'W', 'a', 'm', 3479, 7467, 'e', 3663, 1459, 'Y', 'C', 'x', 9721], ['x', 8421, 'd', 8511, 'a', 'O', 1495, 'f', '385', '5195', 'F', '5175', '783', '8163', '5121', '9407', '9505', 'U', '5695', '6503', 'T', '605', 'K', '2591', '781', 'O', 'F', 'E', '6769', 'D', 'p', 'g', '377', '9963', '9997', 'k', 'F', 'U', 6971, 7263, 1809, 'h', 9387, 2679, 'l', 8221, 'h', 'V', 'm', 'T', 'P', 7595, 2441, 8785, 'g', 8685]