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

Example Input: [875, 'c', 155, 1315, 4839, 'V', 'V', 'f', 8101, 'p', 'T', 'j', 'J', 'a', 'k', 6651, 7167, 1301, 'm', 6409, 1653, 1483, 5717, 'e', 6085, 6231, 5527, 4623, '6377', '9589', 'h', '8647', '4605', 'C', '4557', '1451', '4523', '1565', '137', 'I', '5071', '7871', 'P', '1237', '7547', '7847', '3241', '2029', 'o', '5955', 'W', 'M', '2545', '5409', '6825', '6183', 'A', 2555, 4117, 3295, 7893, 'u', 'N', 5443, 3763, 9527, 'M', 9847, 4821, 7757, 1595, 'h', 8879, 'V'], ['D', 'E', 5181, 935, 6263, 'p', 'y', 'd', 8291, 5551, 'S', 'U', 's', 'Z', 2627, 'v', 'J', 9197, 1035, 209, 'B', 'N', 8071, 'K', 2605, 6055, 4455, '6377', '9589', 'h', '8647', '4605', 'C', '4557', '1451', '4523', '1565', '137', 'I', '5071', '7871', 'P', '1237', '7547', '7847', '3241', '2029', 'o', '5955', 'W', 'M', '2545', '5409', '6825', '6183', 'e', 4375, 2351, 9331, 7935, 'p', 'y', 8505, 'W', 'D', 'r', 'z', 'Y', 6933, 9651, 8235, 'K', 'P', 'L']
Example Output: 6377, 9589, h, 8647, 4605, C, 4557, 1451, 4523, 1565, 137, I, 5071, 7871, P, 1237, 7547, 7847, 3241, 2029, o, 5955, W, M, 2545, 5409, 6825, 6183

Example Input: [6453, 7881, 'D', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'Y', 2235, 823, 'q', 'S', 'R', 'K', 2809, 'o', 7605, 'L', 'V', 'D', 'R'], [1195, 'n', 5253, 7139, 4463, 10023, 'O', 'Y', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'L', 4321, 3545, 'G', 'G', 'h']
Example Output: X, 9799, Z, 1711, P, L, E, 5039, 1161, n, 6077, 685, F, C

Example Input: [6195, 6865, 'x', 'e', 'w', '1725', '1215', '7407', 'B', '799', '965', 'A', 'S', 'W', 't', '2707', 'k', 'l', 'm', '2339', 'S', 9657, 2681, 3041, 'N', 3211, 'J', 'F', 'b', 'h'], ['H', 'T', 'a', 4501, 'd', 1087, 9357, 319, 9029, 'Z', 9521, 8709, 'w', '1725', '1215', '7407', 'B', '799', '965', 'A', 'S', 'W', 't', '2707', 'k', 'l', 'm', '2339', 'K', 'f', 'c', 'O', 'm']
Example Output:
w, 1725, 1215, 7407, B, 799, 965, A, S, W, t, 2707, k, l, m, 2339