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

Example Input: [455, 5425, 2307, 'J', 327, 't', 'c', 'b', 6749, 7017, 'W', 'J', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'L', 4491, 'u', 't', 'v', 'P', 'n', 8189, 'C', 'G', 6899, 'L', 9701, 'c', 3957, 7607, 1245, 'M', 'I', 2799], [2217, 'B', 'G', 8865, 'Z', 5559, 'H', 1391, 6963, 'w', 'e', 'f', 9921, 'N', 2189, 'T', 'k', 'n', 6323, 6659, 'm', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'a', 2811, 'K', 'J', 1933, 'X', 'G', 'p', 'X', 'n', 'g', 975, 6475, 'h', 'S']
Example Output: 7781, g, 7793, 7355, V, 5905, 9737, 1183, x, 4965, h, 7671, X, x, V, 2529, r, 2961, 5337, 993, 8789, 6837

Example Input: [5451, 't', 'Q', 5199, 'A', 'P', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'u', 'l', 'o', 9943, 'b', 'm'], [1925, 'Q', 'D', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'H', 3347]
Example Output: 5961, 133, Q, V, 7547, 899, 6027, 439

Example Input: ['V', 'i', 10027, 1883, 'b', 9955, 'B', 7897, 1063, 'v', 'U', 3489, 'Z', '9127', 'i', 'y', 't', '2375', 'R', 'q', 'L', 'X', '8659', '9569', '6111', '3195', 'o', 'w', 'E', 'K', 'D', 'Y', 'w', '8077', '4991', 'f', '2613', '5741', 'r', 'V', 9505, 'Z', 'F', 'n', 5093, 'B', 7569, 8097, 2933, 'C', 'G', 1357, 6983, 'f', 'J', 1207, 2693, 'R', 487, 3453, 9173], [3881, 'N', 6545, 'B', 'y', 7653, 3343, 611, 8925, 'O', 'C', 1705, 3127, 925, 'E', 2207, 'Z', '9127', 'i', 'y', 't', '2375', 'R', 'q', 'L', 'X', '8659', '9569', '6111', '3195', 'o', 'w', 'E', 'K', 'D', 'Y', 'w', '8077', '4991', 'f', '2613', '5741', 'r', 'R', 'G', 'd', 'R', 'K', 1651, 5813, 589, 'X', 2603, 2115, 981, 'e', 9073, 8677, 9539]
Example Output:
Z, 9127, i, y, t, 2375, R, q, L, X, 8659, 9569, 6111, 3195, o, w, E, K, D, Y, w, 8077, 4991, f, 2613, 5741, r