In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 9267, 1249, 'R', 'i', 'a', 'U', 8367, 'm', 'r', 'I', 4191, 9985, 'v', 'v', 3227, 'H', '7937', '3461', 'Q', 'I', 'p', 'y', 'j', 'J', 'U', 'W', 'x', 'B', 'w', '7937', 'm', 'k', 'f', '7405', 'O', 5829, 3151, 'L', 6633, 1603, 'n', 'A', 'l', 'F', 6651, 4919, 553, 8563, 2647, 'Y'], [9975, 'X', 1813, 2299, 'z', 'y', 2259, 9903, 'y', 7773, 'Z', 'R', 3285, 8721, 6861, 'b', 'H', '7937', '3461', 'Q', 'I', 'p', 'y', 'j', 'J', 'U', 'W', 'x', 'B', 'w', '7937', 'm', 'k', 'f', '7405', 'b', 227, 'h', 7355, 'W', 'Z', 4517, 'I', 5871, 'I', 401, 3357, 'M']