In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 5849, 8715, 'N', 'z', 'T', 8235, 5221, 's', 135, 'j', 3827, 'X', 4989, 'J', 1599, 5889, 'y', '9213', 'e', '3533', 'y', 'f', '9859', 'U', '4115', 'O', 'a', 'p', '4103', 'g', 'q', '8319', '4745', 'l', 7449, 'u', 5949, 'Y', 'y', 'F', 'D', 'x', 117, 'M', 7191], [3151, 1163, 'a', 2871, 'D', 4441, 573, 5573, 7717, 2111, 'P', 'R', 'F', 9343, 9203, 'y', 'y', '9213', 'e', '3533', 'y', 'f', '9859', 'U', '4115', 'O', 'a', 'p', '4103', 'g', 'q', '8319', '4745', 'k', 7289, 7793, 'M', 'V', 4795]