In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'F', 9173, 'O', 'b', 'k', '8471', '5661', 'p', 'q', '1853', '3697', '4197', 'G', 'Y', '925', 'R', 'O', '6405', '8159', '1871', 'C', 'L', '6403', 'Z', 'P', 'Q', 'e', 'Q', 'q', 'z', 'd', 9003, 'J', 6757, 'K', 'U', 487], [761, 9899, 'Q', 'v', 'D', 'd', 'Q', 'U', 397, 'X', 'j', 2901, 4473, 'W', 9385, 'l', 'a', 'x', 'k', 'k', '8471', '5661', 'p', 'q', '1853', '3697', '4197', 'G', 'Y', '925', 'R', 'O', '6405', '8159', '1871', 'C', 'L', '6403', 'Z', 'P', 'Q', 'm', 'I', 1325, 2265, 525, 'y', 3103, 8277, 7171, 2583, 9053, 9567, 8151, 281, 'S', 'V', 487]