In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7505, 9905, 'w', 3997, 'n', 3085, 2273, 'z', '4151', 'c', 'Y', '6977', '4985', '495', '1691', 'B', '8175', 'N', '2125', '961', 'J', 8611, 'u', 9103, 5505, 2391, 'K', 'E', 8825, 8525, 't', 1843], [4135, 'q', 8579, 'r', 9149, 'e', 'o', 'p', 'o', 5297, '4151', 'c', 'Y', '6977', '4985', '495', '1691', 'B', '8175', 'N', '2125', '961', 'v', 9865]