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

Ex Input:
['e', 'h', 's', 'a', 'H', 'T', 2055, 'K', 's', 4269, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'i', 'N', 9599, 8065, 'V', 'H', 7675, 4263, 'Z', 7307], ['V', 'z', 'C', 'S', 'F', 'a', 's', 6773, 'C', 'e', 9893, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'O', 'Q', 709, 'G', 167, 3287, 'w', 6213, 'g']

Ex Output:
8015, T, 1633, K, T, Z, s, x, 7515, 9771, 7667, K, 3065


Ex Input:
[5381, 'H', 'w', 9281, 3195, 2609, 'v', 'q', 'O', 10019, 'Q', 'K', 'c', 'J', 'A', 'a', 313, 5517, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'z', 4391, 'Z', 3229, 'f', 'z', 6131, 'm', 'U', 5825], [6363, 6625, 'f', 7841, 'J', 'j', 993, 'p', 'f', 'X', 'j', 361, 4325, 'a', 649, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'G', 6719, 2367, 9155, 'B', 7493, 9415, 'j', 'k', 'j', 'v', 'k', 'Z', 9021, 'f', 'x', 3213, 'p', 3453, 'w']

Ex Output:
3007, 1737, F, a, 4559, 3987, 6211, v, 5531, 9565, 1705, 7747, 8567, 5965, 4195, p, 2775, g, K, n, B, U, T, 8995, c, 2831, n, Q, l, 6749


Ex Input:
[9085, 369, 'w', 'n', 'N', 'V', 3885, 131, 7595, 'c', 7301, 33, 't', 5107, 'H', 9291, 'p', 'l', 'Q', 'q', 'W', 'R', 'X', '1079', 'c', 'k', 'D', 'q', '2615', '2213', '6925', '1865', '7137', '7519', '411', 'Z', '7675', '361', 'q', '1147', '5403', '2967', 'Q', '6775', 'K', 'a', '1299', 'v', 8361, 'r', 1449, 'E', 5495, 821, 'E', 4631, 't', 9427, 7083, 8667, 101], ['n', 1365, 'Z', 'C', 'M', 1739, 'X', 3377, 9207, 'P', 'm', 'P', 5919, 633, 2583, 2505, 2395, 7373, '1079', 'c', 'k', 'D', 'q', '2615', '2213', '6925', '1865', '7137', '7519', '411', 'Z', '7675', '361', 'q', '1147', '5403', '2967', 'Q', '6775', 'K', 'a', '1299', 'M', 7261, 'B']

Ex Output:

1079, c, k, D, q, 2615, 2213, 6925, 1865, 7137, 7519, 411, Z, 7675, 361, q, 1147, 5403, 2967, Q, 6775, K, a, 1299