TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: ['H', 'u', 't', 'q', 'a', 9875, 'x', 'H', 'X', 8321, 1857, 't', 'N', 'h', 'q', 'U', 'n', 'k', 't', 'm', 'L', '2313', '5885', 'W', '9357', 'R', '2155', 'g', 'E', 'G', '9247', '8349', '1291', 's', '3501', 's', '9777', '9965', '6443', 'h', 'n', 4233, 'u', 'T', 6201, 9687], ['k', 5835, 2739, 'b', 1249, 'T', 8059, 6331, 3427, 417, 'N', 'h', 'q', 'U', 'n', 'k', 't', 'm', 'L', '2313', '5885', 'W', '9357', 'R', '2155', 'g', 'E', 'G', '9247', '8349', '1291', 's', '3501', 's', '9777', '9965', '6443', 'h', 'z', 'j', 9683]

SOLUTION: N, h, q, U, n, k, t, m, L, 2313, 5885, W, 9357, R, 2155, g, E, G, 9247, 8349, 1291, s, 3501, s, 9777, 9965, 6443, h

PROBLEM: [605, 'W', 7189, 'X', '7897', '5823', 'P', '9001', 'J', 'r', 2595], ['z', 'W', '7897', '5823', 'P', '9001', 'J', 'Z', 'w']

SOLUTION: 7897, 5823, P, 9001, J

PROBLEM: [5615, 4889, 'G', 'd', '2713', 'I', '3723', '8419', 'D', 'G', 'g', 5947], ['X', 2691, '2713', 'I', '3723', '8419', 'w', 'S', 'L']

SOLUTION:
2713, I, 3723, 8419