In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9685, 'Y', 'z', '7221', '2361', 'W', '9691', 'v', 's', 'u', '8531', 'J', '4959', 'X', '7075', 'Y', 'x', 'k', '7849', '10011', '8277', 'V', 'S', 5451, 9565, 6085, 1159, 'B', 'N'], ['w', 4571, 8449, 'z', '7221', '2361', 'W', '9691', 'v', 's', 'u', '8531', 'J', '4959', 'X', '7075', 'Y', 'x', 'k', '7849', '10011', '8277', 'a', 's']