Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [7519, 8471, 'u', 8589, '3535', '4623', '2401', 'P', '3467', '4277', '7601', 'r', '2563', 'h', 'B', '6949', '7571', '537', '8195', 'W', '9735', 'b', 'A', 1685, 8713, 8895, 1553, 2833, 503, 'N', 'l', 5311, 1197, 'C', 's', 8381], ['u', 'F', 'A', 'f', '3535', '4623', '2401', 'P', '3467', '4277', '7601', 'r', '2563', 'h', 'B', '6949', '7571', '537', '8195', 'W', '9735', 'b', 'y', 'W', 5569, 3925, 3539, 'Z', 'K', 9149, 'H', 'w']
Output:
3535, 4623, 2401, P, 3467, 4277, 7601, r, 2563, h, B, 6949, 7571, 537, 8195, W, 9735, b