In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8515, 'r', 'F', 9753, 6583, 4003, 6537, 'N', 6409, '7197', '9993', '7033', 'W', '8895', '9773', '6963', 'u', 'A', '6065', 'H', 'E', 'X', 7335, 3953, 'u', 3633, 'D', 'K', 'h'], [9417, 'Y', 'f', 1277, 2227, 'H', 8337, 9487, 'n', '7197', '9993', '7033', 'W', '8895', '9773', '6963', 'u', 'A', '6065', 'H', 'E', 'n', 9435, 'Y', 1819, 'w', 'p', 5365, 'p', 8195, 5405, 4027, 't']