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

Example Input: [2975, 3781, 'D', 'd', 'K', 4033, '3783', 'n', 'k', '327', 't', '9871', '233', 's', 'e', 'P', 3411, 'J', 'e'], [4339, 2811, '3783', 'n', 'k', '327', 't', '9871', '233', 'l', 'f', 4263, 7913]
Example Output: 3783, n, k, 327, t, 9871, 233

Example Input: [3323, 'G', 'k', 9183, 't', 9885, 3767, 'D', 'u', 'C', 'O', '9231', 's', 'd', '3497', '6063', 'Z', 'S', '2799', 'u', '2777', '8507', 'G', 'j', 'z', 'B', 'F', 't', '5527', '8931', 'r', '10029', '7305', 'H', 't', 7899, 'F'], ['h', 'E', 4401, 'C', 1267, 1175, 2939, 'g', 'n', 'm', 'u', 'C', 'O', '9231', 's', 'd', '3497', '6063', 'Z', 'S', '2799', 'u', '2777', '8507', 'G', 'j', 'z', 'B', 'F', 't', '5527', '8931', 'r', '10029', '7305', 'H', 'q', 4957, 6929, 6135, 'M', 1875, 4101, 'L', 9477, 'Q', 'Z', 1039, 'A', 4355, 'l', 'w', 's', 4485, 'L', 6895, 753, 'm', 1205, 'V', 821, 8801]
Example Output: u, C, O, 9231, s, d, 3497, 6063, Z, S, 2799, u, 2777, 8507, G, j, z, B, F, t, 5527, 8931, r, 10029, 7305, H

Example Input: ['k', 8059, 6387, 'H', 8211, 'B', 'H', 5425, 'K', 'u', 'k', '459', 'B', 'H', '2409', '3787', 'W', 'q', '7221', 'm', '1879', 't', 'i', '9751', '9997', 'F', 's', 'd', '8241', 'O', '5125', 'u', 'S', '7855', '1343', '2531', 'W', 'F', 'r', 'Y', 'n', 4749], ['L', 1327, 'i', 'A', 891, 9533, 5597, 2649, 'V', 'C', 9587, 'k', 8839, 'z', '459', 'B', 'H', '2409', '3787', 'W', 'q', '7221', 'm', '1879', 't', 'i', '9751', '9997', 'F', 's', 'd', '8241', 'O', '5125', 'u', 'S', '7855', '1343', '2531', 'W', 'F', 'r', 'R', 'z', 7315, 9317, 'x', 7349, 1723, 'b', 2455, 'o', 'l', 699, 't', 1341, 'h', 'b', 'B', 5797, 7461, 5031, 1419, 3055, 1501, 7933, 'I', 'e', 'F', 'C']
Example Output:
459, B, H, 2409, 3787, W, q, 7221, m, 1879, t, i, 9751, 9997, F, s, d, 8241, O, 5125, u, S, 7855, 1343, 2531, W, F, r