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

Example Input: [3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']
Example Output: 7241, V, p, i, 6013, X, C, 8145, Y, 2517, z

Example Input: ['G', 'T', 'D', 'j', 'g', 'w', 'n', 'D', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'v', 693, 'f', 'J', 'f', 10007, 'o', 863, 'o', 'Z', 'd', 'Q'], [8181, 693, 's', 'V', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'w', 4477, 'd', 1717, 525, 7147, 'g', 6803, 'j', 8033, 'Y', 't', 5059, 4371]
Example Output: V, 8209, 9691, 6551, N, 4913, 471, 9355, b, w, 4505, 6427, P, 5957

Example Input: [10007, 'Z', 't', 'n', 2903, 'h', 'o', 'd', 'j', '7517', '2503', 'J', 'Q', 'n', 'w', '9329', 't', 'G', 'h', '4017', 't', 'I', '2641', 'c', 'I', 'k', 6115, 'w', 5281, 9281, 'T', 4217, 145, 'H', 'O', 'N', 'C', 6537], ['Z', 'g', 'O', 1181, 3095, 'n', 6257, 'q', 9997, 'C', 'x', 'u', 2325, 'T', 1821, 'R', 5885, 'u', 'h', 'o', 'd', 'j', '7517', '2503', 'J', 'Q', 'n', 'w', '9329', 't', 'G', 'h', '4017', 't', 'I', '2641', 'c', 'I', 'U', 4583, 'q', 3683, 'e', 8091, 'K', 'R', 'i', 'w', 8333, 9081]
Example Output:
h, o, d, j, 7517, 2503, J, Q, n, w, 9329, t, G, h, 4017, t, I, 2641, c, I