In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'd', 'V', 857, 's', 'S', 7867, 4263, 5397, 'O', 6337, 'K', 'q', '8399', 'V', 'U', '3883', 'I', 'z', '7907', '1577', 'S', 'u', '2361', '3307', 'H', 'w', 8329, 'e', 8261, 3141, 6739, 371, 1495, 379], [7087, 8057, 'K', 'q', '8399', 'V', 'U', '3883', 'I', 'z', '7907', '1577', 'S', 'u', '2361', '3307', 'H', 'Q', 'Z', 'q', 's', 'J', 'j', 3105, 'D', 'W', 4027, 'S']