In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 'F', 6773, 'A', 'n', 4815, 9621, 315, 3595, 7715, 4515, '9003', '5143', '8293', '9851', 'x', '9723', 'A', 'w', '1767', '1569', 'Z', 'f', 'b', 6769, 'm', 4559, 4115], ['g', 'Y', 'o', 2061, 739, 'F', 5903, 4605, 'V', '9003', '5143', '8293', '9851', 'x', '9723', 'A', 'w', '1767', '1569', 'Z', 'B', 9135]