In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 6043, 'd', 3715, 4475, '7699', 'D', 'G', 'w', '3007', '8217', '5779', '515', '8259', '2329', '1245', 'n', 'N', 'y', 'e', 'l', 9053, 7429, 2365, 8451, 2711, 'O', 'u', 'V', 4625, 1261], [5801, 1051, 't', 'M', 3899, 555, 'y', 'f', '7699', 'D', 'G', 'w', '3007', '8217', '5779', '515', '8259', '2329', '1245', 'n', 'N', 'y', 'e', 'C', 'l', 'm', 'a', 'g', 't', 'L']