In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: [431, 4017, 'R', 'a', 'F', '9581', 'Y', 'f', 'z', 'b', 1235], [4115, 'u', 'g', 'f', 2455, 'a', 'F', '9581', 'Y', 'f', 'z', 'm', 7245, 'I', 7021]
Example Output: a, F, 9581, Y, f, z

Example Input: [2787, 'N', 'I', 'M', 'x', '3825', 'r', '1041', 'y', 'a', 'v', 6057], ['F', 6523, 'x', '3825', 'r', '1041', 's', 'C', 3001, 8425]
Example Output: x, 3825, r, 1041

Example Input: ['J', 2905, 'N', 'E', 'P', 'u', 'C', 'F', 'r', 'm', 'I', 'x', 1771, 6223, 1515, 'b', 'Z', 1417, 5477, 'm', 'W', '4473', '2355', '6621', '8861', 'R', 'A', '4603', '6689', '2917', 'I', 'M', '9085', 'A', 'b', '5383', 'c', 'y', 'O', 'D', '9595', 'a', 'e', 'U', 'A', 491, 'k', 'L', 'i', 1747, 6317, 'v', 8449, 6509, 'T', 7591, 8055, 6689, 'B', 'I', 'I', 9895, 4333, 8521, 'I', 'E'], [4625, 3225, 1801, 's', 'v', 'K', 's', 'e', 7849, 9551, 4649, 9543, 8357, 3193, 'z', 6643, 2547, 4311, 'f', 'Z', 'W', '4473', '2355', '6621', '8861', 'R', 'A', '4603', '6689', '2917', 'I', 'M', '9085', 'A', 'b', '5383', 'c', 'y', 'O', 'D', '9595', 'a', 'e', 'H', 'd', 1861, 'z']
Example Output:
W, 4473, 2355, 6621, 8861, R, A, 4603, 6689, 2917, I, M, 9085, A, b, 5383, c, y, O, D, 9595, a, e