In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 4819, 'e', 'U', 3367, 'A', 2891, 3609, 5285, 'k', 'I', 9637, 'K', 9901, 'D', 'd', '9543', 'g', '1015', '6077', 'b', '3117', 'z', 'A', 'l', '4325', '5051', 'w', 'b', 'V', 'B', 9731, 9421, 4951, 8917, 'p', 'k', 6935, 653, 'g'], ['P', 599, 'D', 'd', '9543', 'g', '1015', '6077', 'b', '3117', 'z', 'A', 'l', '4325', '5051', 'w', 'l', 5193, 8403, 9443, 5691, 'b', 2699]