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

Example Input: [9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]
Example Output: 2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097

Example Input: [6123, 'S', '9109', '8921', 'a', '8063', '485', '6043', '5895', 'B', '2463', 'Y', 'e', 'J', 'f', 'A', '2055', 'V', 't', 'L', 'E', 'i', '5983', 'h', '8721', 'E', 't', 7923, 'F', 7937, 'n', 'J', 6811, 'o', 985, 3321, 't', 'k', 1817, 2563, 'a', 'l', 'i', 6063, 4935, 'S'], [8811, 'o', 6787, 'Z', 'm', 6351, 'M', 'B', 'Q', '9109', '8921', 'a', '8063', '485', '6043', '5895', 'B', '2463', 'Y', 'e', 'J', 'f', 'A', '2055', 'V', 't', 'L', 'E', 'i', '5983', 'h', '8721', 'q', 'f', 'q', 9801, 'E', 'Q', 8995, 'r', 3495, 5973, 'g', 'L', 127, 8625, 1555, 'j', 1373, 'm', 1169]
Example Output: 9109, 8921, a, 8063, 485, 6043, 5895, B, 2463, Y, e, J, f, A, 2055, V, t, L, E, i, 5983, h, 8721

Example Input: [8777, 4389, 'B', 4635, 'y', 5053, 7877, 'F', 'E', 'j', 'D', 'b', 'y', '1277', '2871', 'n', 'V', '6513', '579', 'J', '6861', 'R', 'U', 1841, 9659, 'j', 'P', 'P', 'M', 9053, 9475, 6633], [7229, 's', 'M', 2597, 'n', 'v', 3999, 'b', 'y', '1277', '2871', 'n', 'V', '6513', '579', 'J', '6861', 'R', 'r', 'V', 6469, 5185, 7543, 3655, 'T']
Example Output:
b, y, 1277, 2871, n, V, 6513, 579, J, 6861, R