In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9669, 'r', 'm', 'm', 'Y', 3555, 'i', 2423, 'l', 'M', 'g', 'u', 5499, 9445, 'P', 'Y', '5125', 'P', '9131', '9997', 's', 'i', 'r', '7011', 'S', '5895', 'e', 'U', 'q', 'o', '5619', '4871', '8535', '2671', 'C', '2417', '9521', 'N', 'P', '9375', 'i', '775', '9927', 'm', 6185, 781, 8263, 'F', 'n', 5451, 1443, 'n', 2273, 'c', 'n', 4557, 1413, 'O', 589, 'i', 'Q', 'S', 6057, 323, 5665, 'O', 'J'], [5265, 'l', 2857, 'Z', 'M', 'P', 'Y', '5125', 'P', '9131', '9997', 's', 'i', 'r', '7011', 'S', '5895', 'e', 'U', 'q', 'o', '5619', '4871', '8535', '2671', 'C', '2417', '9521', 'N', 'P', '9375', 'i', '775', '9927', 't', 5137, 19, 'A', 'd', 4743, 'G', 8291, 'c', 'K', 8347, 'q', 5863, 'd', 'P', 2095, 'o', 5235, 'n', 1153]