In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['W', 'z', 'f', '8313', '5483', '1803', '2963', '9371', 'g', 'n', '3217', '5207', 'Q', 'o', '9423', 'F', 'X', '1167', 'W', 'z', 'b', 'j', 'i'], ['S', 9785, 1351, 7105, 'B', 9347, 'p', 'l', 'u', 'K', 'f', 8987, 'v', 1597, 3219, 'j', '8313', '5483', '1803', '2963', '9371', 'g', 'n', '3217', '5207', 'Q', 'o', '9423', 'F', 'X', '1167', 'W', 'q', 'b', 9427, 971, 'W', 'k', 'm', 5665, 7325, 'r', 'w']