In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[361, 'N', 9543, '8807', 'K', 'x', 'u', 'V', 'Q', 'o', '7959', '3799', 'S', '5855', 'B', 'V', 'z', 7987, 's', 4667, 'Z', 'F', 5417, 6409, 9133, 'd', 'H', 'o', 'i'], [3525, 'c', 'w', 'W', 1783, 573, 'Z', 1843, 'h', 'g', 5093, '8807', 'K', 'x', 'u', 'V', 'Q', 'o', '7959', '3799', 'S', '5855', 'B', 'V', 'K', 5193, 'f', 'o', 6009, 'x']