In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'Z', '469', '1245', '7997', 'W', 'V', '6105', 'K', '843', 'f', 'y', '3535', '4841', '6527', '8783', 'y', 2043, 'x', 4373], [3013, 'G', 7173, 535, 6433, 8953, 's', 9005, 2227, 'M', 9349, 't', '469', '1245', '7997', 'W', 'V', '6105', 'K', '843', 'f', 'y', '3535', '4841', '6527', '8783', 'n', 'g', 5887, 'o']