Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [2493, 'O', 'f', '8325', '2089', '7949', 'C', 'h', '1941', '7945', 'W', '5605', 'v', 'U', '7241', '6031', 'v', 'T', 6225, 'D', 'z', 3235, 1239], [735, 2669, 5703, 'j', '8325', '2089', '7949', 'C', 'h', '1941', '7945', 'W', '5605', 'v', 'U', '7241', '6031', 'p', 707, 'Z', 'A', 9683]
Output:
8325, 2089, 7949, C, h, 1941, 7945, W, 5605, v, U, 7241, 6031