In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['F', 1427, 4291, '4507', 'E', '9405', '1659', '10017', '5615', 'r', '4351', '1217', 'k', '9747', 'i', '7927', '4555', '8517', '67', 'N', '9603', '4467', 'z', 'J', 9213, 'v', 997, 3693, 'z', 'Z', 'j'], [5711, 'k', 'd', 'a', 'z', '4507', 'E', '9405', '1659', '10017', '5615', 'r', '4351', '1217', 'k', '9747', 'i', '7927', '4555', '8517', '67', 'N', '9603', '4467', 'z', 'H', 'd', 2535, 'D']