In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 'l', 1529, 5395, 1667, 's', '6169', '8365', 'g', 'T', '5923', '107', '6613', 'z', 1545, 1771, 'n', 'H', 'Z', 'u'], [4017, 'M', 'd', 'Z', 4071, 's', '6169', '8365', 'g', 'T', '5923', '107', '6613', 'X', 'X']