In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['b', 17, '6695', 'd', '3425', '8839', '4299', 'P', '6763', '6929', 'F', 'y', 'M', 5157, 8861], ['u', 'Z', 7455, '6695', 'd', '3425', '8839', '4299', 'P', '6763', '6929', 'h', 5597, 9087, 4379, 'w', 4927]