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

Ex Input:
['W', 'Y', 'y', 'A', 'm', '6915', '3285', 'd', '1035', 'H', 'J', '7549', 'P', '5301', 'q', '4057', 'H', '5697', 'H', '5141', 'H', 2451, 'x', 3307, 'A', 7121, 'b', 3319], ['M', 'L', 5827, 'I', 'r', 'f', '6915', '3285', 'd', '1035', 'H', 'J', '7549', 'P', '5301', 'q', '4057', 'H', '5697', 'H', '5141', 'N', 3371, 691]

Ex Output:
6915, 3285, d, 1035, H, J, 7549, P, 5301, q, 4057, H, 5697, H, 5141


Ex Input:
[8039, 4457, 'z', 3519, 'q', 'T', 'k', 'b', 'H', 'W', 'H', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'd', 1527, 'o', 1393, 't', 7653], ['g', 2437, 'm', 'b', 2347, 'Q', 6719, 2049, 6643, 'B', 6919, 1873, 'K', 9319, 6729, 'Z', 'E', 8011, 7953, 'M', 1121, 'k', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'o', 1481, 867, 'B', 29]

Ex Output:
5561, 1389, 6389, 6923, 339, Q, 5837, D, z, F, 4743, 7197, 1407, 9711, 4355, 4027, 2219, w, S, Z, f, 4091, 2571


Ex Input:
['h', 'F', 6393, 'n', 'T', 'k', 'r', 'e', 'Q', '329', 'G', '1763', 'L', '5625', 'T', 'i', '3085', 'E', '6801', 'K', 'F', 1277, 747, 'h', 'w', 8727, 'v', 7473, 'I', 6133, 4391, 'Q'], [1285, 'b', 3221, 6991, 'P', 'A', 'C', 1523, 'E', 'e', 'r', 'e', 'Q', '329', 'G', '1763', 'L', '5625', 'T', 'i', '3085', 'E', '6801', 'l', 4325, 'F', 1695, 'r', 6345, 1697]

Ex Output:

r, e, Q, 329, G, 1763, L, 5625, T, i, 3085, E, 6801