In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 'J', 387, 'Z', 'e', 1641, 7753, 9821, 'H', 4993, 4291, '3749', 'k', 'F', 'l', 'd', 'z', 'x', 'R', 'B', 'a', 'f', '8975', 'X', '8809', 'O', 1687, 'n', 27, 'z', 3529, 3793, 'R', 15], ['P', 'u', 855, 4211, 'N', 605, 'm', '3749', 'k', 'F', 'l', 'd', 'z', 'x', 'R', 'B', 'a', 'f', '8975', 'X', '8809', 'S', 'U', 'A', 5741, 't', 'X', 1187, 7185, 'c', 'd']