Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['n', 'D', 8845, 't', 4027, 'f', 'L', 8433, 2555, 'g', 7723, 'F', 'T', '4059', '1321', 'F', '3461', 'e', '1731', '2581', 'B', 'L', '2761', '3107', '4461', '35', 'r', '2383', '5983', 'i', 3865, 6377, 1099, 8639, 'N', 9295, 1165, 8759, 7977, 'k', 1677, 'q', 't', 61, 'P', 9279], [2813, 1993, 'E', 6029, 'F', 'M', 'F', 'T', '4059', '1321', 'F', '3461', 'e', '1731', '2581', 'B', 'L', '2761', '3107', '4461', '35', 'r', '2383', '5983', 'R', 'E', 7491, 629, 4053, 9947, 'K', 5159, 'L', 'q']
Output:
F, T, 4059, 1321, F, 3461, e, 1731, 2581, B, L, 2761, 3107, 4461, 35, r, 2383, 5983