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

Input: Consider 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']

Output: 7781, g, 7793, 7355, V, 5905, 9737, 1183, x, 4965, h, 7671, X, x, V, 2529, r, 2961, 5337, 993, 8789, 6837


Input: Consider Input: [127, 'J', 'v', 6999, 'g', 'G', 1965, 'E', 8699, 7579, 9265, 6993, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'L', 851, 9385, 8367, 'J'], [1577, 'y', 121, 6195, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'T', 'M', 'l', 'D', 'z', 9687, 1645, 'W', 1249, 5527, 297]

Output: B, R, I, 8517, V, W, 7777, K, 4475, 2323, z, 7003, h, q, T, 6623


Input: Consider Input: ['K', 9823, 3581, 'n', 'l', 'j', 'Y', 'a', '2519', 'Y', 'b', 'k', 'v', '1199', 'J', 'f', 'u', '5137', '9329', 'd', 'P', 'x', 'W', 'i', 4735, 'O', 7071, 4263, 'H', 9729, 'B', 'd', 8181, 1071, 3181, 'k', 'R', 9979, 'c', 'F', 5527, 5287, 7071], ['U', 'w', 'F', 'C', 'w', 1111, 'R', 'U', 3195, 'S', 7981, 8679, 3925, 'x', 'n', 'l', 'j', 'Y', 'a', '2519', 'Y', 'b', 'k', 'v', '1199', 'J', 'f', 'u', '5137', '9329', 'd', 'P', 'x', 'W', 'p', 'd', 'x', 'B', 'T', 7041, 753, 1375]


Output: n, l, j, Y, a, 2519, Y, b, k, v, 1199, J, f, u, 5137, 9329, d, P, x, W