Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [3825, 'c', 'x', '4367', 'o', 'p', 'C', 'c', 'P', '3111', 'E', 'F', '4677', '7107', 'w', 'u', '7531', 'Q', '2529', 'F', '6317', '3675', '1553', 's', 'o', 577, 'K', 1909, 5787, 'f', 3815, 7397, 'm'], ['D', 'o', 5421, 8899, 'a', 8277, 'O', 'k', 2919, 'T', 375, 'Z', 9525, 'A', 'u', 85, 'N', '4367', 'o', 'p', 'C', 'c', 'P', '3111', 'E', 'F', '4677', '7107', 'w', 'u', '7531', 'Q', '2529', 'F', '6317', '3675', '1553', 'c', 'E', 5397, 'z', 't', 9751, 2405, 6657, 'I', 't', 3611, 'g', 4067, 1885, 'P', 1865]
Output:
4367, o, p, C, c, P, 3111, E, F, 4677, 7107, w, u, 7531, Q, 2529, F, 6317, 3675, 1553