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

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:
[3299, 9737, 'M', 'P', 'H', '6993', '7079', 'k', 'u', 'k', '2129', 'm', 'l', '7993', 'i', '3657', 'u', 'u', 'Z', 'O', 'c', '7045', '8071', 'z', 'P', '7919', 'F', 4343, 'E', 'S', 'R', 'w', 'c', 2571, 9369, 8565, 6599], ['z', 4799, 'J', 'G', 'z', 2263, 8619, 'Y', 'I', 'b', 'K', 'l', 7535, 'm', 'i', 2287, 4413, 189, '6993', '7079', 'k', 'u', 'k', '2129', 'm', 'l', '7993', 'i', '3657', 'u', 'u', 'Z', 'O', 'c', '7045', '8071', 'z', 'P', '7919', 'T', 6699, 7547, 9497, 'K', 3003, 165, 5157, 'b', 7321, 'V', 6099, 6161]

Ex Output:
6993, 7079, k, u, k, 2129, m, l, 7993, i, 3657, u, u, Z, O, c, 7045, 8071, z, P, 7919


Ex Input:
['y', 8349, 'T', 6463, 't', 'o', 'c', 'I', 4359, 'H', 'S', 2443, 3569, 'E', 6583, '7777', '5971', '1077', '8863', 'G', '213', 'X', '885', '3149', '6497', 'Q', '413', 'U', 'K', '4715', 's', 'V', 8195, 'j', 'd', 'q', 'r', 8753, 'B', 799, 'U', 'W', 8251, 4267, 'F'], ['i', 8167, 7993, 7083, 413, 6833, 5369, 8509, '7777', '5971', '1077', '8863', 'G', '213', 'X', '885', '3149', '6497', 'Q', '413', 'U', 'K', '4715', 's', 'B', 7423, 7057, 2119, 8977, 2671, 6663, 'f', 'x', 2277]

Ex Output:

7777, 5971, 1077, 8863, G, 213, X, 885, 3149, 6497, Q, 413, U, K, 4715, s