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

Input: Consider Input: ['x', 7099, 9059, 865, 'S', 'l', 'V', 8579, 'r', 2823, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'X', 'Q', 'V', 'C', 1583, 531, 'u'], ['T', 7357, 4783, 967, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'U', 229, 'P', 'x', 'T', 681, 863]

Output: 9603, c, 1545, 7041, g, d, 1281, 3849, s, 3959


Input: Consider Input: ['b', 'Z', 'n', 'O', 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'k', 833, 9001], [6221, 'H', 'w', 6543, 'o', 1523, 'W', 6091, 'T', 7021, 8161, 1111, 4653, 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'j', 5791, 3573, 9639, 'a', 4089, 5045, 'e', 'i', 'S', 3157, 1767, 2199, 'P']

Output: x, K, J, 5997, 8241, O, 9965, n, 6043, p, 8943, F, O, 2181


Input: Consider Input: ['I', 4247, 'i', 8555, 'k', 2125, 1391, 'v', 1955, 1691, 6831, 2311, 'P', '5793', '4761', 'J', 'Q', 'P', 'm', '8677', '6461', 'N', '6433', '433', 'x', '2969', 'e', '7061', '8815', 'o', 'y', 'D', '8397', '6559', 'i', '3499', 'B', 'N', '4749', 'd', '5069', 'Z', 'g', 4711, 1315, 'M', 7767, 'N', 4857, 5127, 'y', 'u', 'v', 'y', 'l', 'M'], [4443, 5095, 'a', 'y', 'A', 6315, 'C', 'B', 827, 1661, 8593, 5521, 9599, 7721, 'Y', 1215, 'w', 1579, 1007, 3095, 'J', 8763, 885, 5037, 'i', 289, 'g', 4457, 'P', '5793', '4761', 'J', 'Q', 'P', 'm', '8677', '6461', 'N', '6433', '433', 'x', '2969', 'e', '7061', '8815', 'o', 'y', 'D', '8397', '6559', 'i', '3499', 'B', 'N', '4749', 'd', '5069', 'Z', 'S', 'V', 'd', 'R', 'U', 'R', 'J', 'i', 'j', 3393, 'f', 9699, 'y', 'A', 'l', 'z', 935, 'W', 'L', 7939, 9237, 'P', 5173, 'J', 9455, 199]


Output: P, 5793, 4761, J, Q, P, m, 8677, 6461, N, 6433, 433, x, 2969, e, 7061, 8815, o, y, D, 8397, 6559, i, 3499, B, N, 4749, d, 5069, Z