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

Ex 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']

Ex 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


Ex Input:
[435, 5991, 'L', 2351, 5221, 6381, 8655, 'U', 'q', 7163, 1771, 'c', 1181, 'v', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'u', 1721, 'W', 4519, 8045, 7749, 7163], ['z', 'Z', 9691, 'b', 'Y', 'A', 'a', 'q', 7549, 'm', 'x', 's', 'b', 5655, 2087, 'f', 'o', 8235, 1383, 'h', 'O', 7531, 'T', 2283, 'r', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'P', 4935, 7767, 4325, 755]

Ex Output:
4831, 8155, D, 3079, 1677, r, 2713, k, 9587, 8141, 3037, 21, 9135, 9197, 3459, P, 915, s, 5539, h, 599, 9937, o, C, 1637, 8921


Ex Input:
['m', 5997, 'T', 'h', 'p', 8369, 5789, 'f', 'v', 2747, 'd', 507, 5227, 6111, 2501, 't', 'r', 'G', 'N', 'Q', 'G', '4565', '7059', 'z', 'u', 'Q', 'e', 'K', 'K', 'r', 'I', 'L', '3355', '4677', '1117', 'A', 4675, 'y', 'e', 'G', 'c', 'l', 'z', 'v', 759, 51, 4081, 8307], [7961, 'M', 'T', 'E', 9321, 'h', 'D', 'N', 6033, 'r', 'G', 'N', 'Q', 'G', '4565', '7059', 'z', 'u', 'Q', 'e', 'K', 'K', 'r', 'I', 'L', '3355', '4677', '1117', 'S', 8697, 6045, 'G', 5943, 'E', 'o', 'F', 'V', 'Q', 8237, 'v', 5319, 4297, 'Z']

Ex Output:

r, G, N, Q, G, 4565, 7059, z, u, Q, e, K, K, r, I, L, 3355, 4677, 1117