In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 'J', 3181, 'M', 2971, 8491, 'x', 'M', 5595, 'v', 5605, 1613, 'p', 'e', 8277, 'y', 't', 8725, 'i', 'N', 'b', 'x', '917', 'K', 'r', '6603', 'D', 'b', '1831', '9895', 'U', 'P', 'a', 't', '7089', '5487', 'p', '3827', 'V', 'm', 'Y', 'C', 5273, 141, 'p', 2679, 6081, 'D'], [1859, 'v', 5967, 'z', 339, 2147, 'f', 'k', 4791, 'l', 4045, 'Q', 8563, 2057, 'n', 'i', 'N', 'b', 'x', '917', 'K', 'r', '6603', 'D', 'b', '1831', '9895', 'U', 'P', 'a', 't', '7089', '5487', 'p', '3827', 'X', 'C', 'N', 'A', 1779, 'V', 'j', 'A', 'Q', 'k', 'o', 1515, 3847, 4455, 'M', 9805, 'e', 9453, 'g']