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

Input: Consider Input: ['J', 8283, 'c', 1349, 'Z', 5795, 3153, 'w', 3769, 'M', '5425', 'g', '749', '2655', 'L', '5235', '7797', 'q', '8589', 'V', '4057', 'Q', 'y', 'P', 'W', '1223', 'V', '6029', 'P', 'x', 'v', '7111', 'x', '511', 's', 'N', 8363, 4645, 8599, 'B', 5111, 'k', 3627, 3245, 'e', 'h', 'X', 'U', 437, 4871, 3567, 8775, 7393, 2135, 4321, 1223], ['y', 'e', 4857, 'U', 4951, 6477, 6435, '5425', 'g', '749', '2655', 'L', '5235', '7797', 'q', '8589', 'V', '4057', 'Q', 'y', 'P', 'W', '1223', 'V', '6029', 'P', 'x', 'v', '7111', 'x', '511', 'c', 8651, 2433, 219, 'E', 9299, 'R', 'C', 'B', 'n', 'I', 8513, 4973, 3979, 'R', 'g', 'C', 'f', 8713, 3227, 4085, 1055, 'Z']

Output: 5425, g, 749, 2655, L, 5235, 7797, q, 8589, V, 4057, Q, y, P, W, 1223, V, 6029, P, x, v, 7111, x, 511


Input: Consider Input: [1929, 4689, 'n', 8041, 9403, 9827, '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'L', 'f', 'm', 'Z', 6739, 'Q', 'm', 'B', 2313], ['v', 'l', 1235, 'N', 9583, 'p', 5865, 'd', 'L', 8093, 9981, 7681, 'j', 'W', 'i', 'N', 'S', 7663, 'K', 'T', 'O', 'S', 5629, 'M', 5999, 'V', '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'R', 9373, 'U', 'A', 9265]

Output: 9187, 8209, 859, g, W, U, 1479, r, 4511, Z, c, 1191, A, 6903, n, 5933, 3263, 5161, 2377, 4877, f, 4231, 7169, z, k, 2733, 9957


Input: Consider Input: ['M', 5315, 'l', 1691, 7109, 'm', '6501', '9339', 'h', '701', '7217', '9679', 'r', '7417', '4289', '7857', '5967', 'G', 'C', 'P', 'M', 'b', '5827', '3249', 'X', 'g', 4261, 5003, 'f', 8521, 'H', 3271, 6027, 3165, 9891, 'F', 'm', 'k', 1873], ['a', 'n', 'O', 'Q', 'S', 'y', 8845, 'm', '6501', '9339', 'h', '701', '7217', '9679', 'r', '7417', '4289', '7857', '5967', 'G', 'C', 'P', 'M', 'b', '5827', '3249', 'R', 8169, 'Z', 'c', 'x']


Output: m, 6501, 9339, h, 701, 7217, 9679, r, 7417, 4289, 7857, 5967, G, C, P, M, b, 5827, 3249