In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 10029, 2583, '7297', '2681', 't', '8693', '6951', '4715', 'z', 'j', '4849', 'l', '6287', '445', '2927', 'U', 79, 3255, 'o', 6587, 'D'], [8197, 'i', 'z', 2257, 6113, 5859, 4117, 1593, 'K', '7297', '2681', 't', '8693', '6951', '4715', 'z', 'j', '4849', 'l', '6287', '445', '2927', 'O', 5213, 'a', 8077]