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

Example Input: ['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]
Example Output: 8587, 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: [9611, 'g', 'E', 9245, 'X', 175, 2619, 'v', 'f', 'W', 'G', 'x', '4805', 'F', 'w', '521', 'c', '1609', 'H', '8607', 's', '7451', '9671', '2449', '1079', 'i', '9715', '5325', 'I', '2343', 'v', 'F', '1783', 'T', 'N', 'E', 9869, 3255, 7217, 7847, 7557, 7841, 9865, 'g', 'N', 2595, 1037, 4505, 6379, 'k', 4855], ['c', 'D', 'Y', 'g', 2431, 'q', 'C', 'x', '4805', 'F', 'w', '521', 'c', '1609', 'H', '8607', 's', '7451', '9671', '2449', '1079', 'i', '9715', '5325', 'I', '2343', 'v', 'F', '1783', 'T', 'E', 6327, 9217, 'U', 'v', 7673, 5885, 'y', 'v', 5141, 'L']
Example Output:
x, 4805, F, w, 521, c, 1609, H, 8607, s, 7451, 9671, 2449, 1079, i, 9715, 5325, I, 2343, v, F, 1783, T