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

Ex Input:
['Y', 'z', 5335, 'X', 3843, 'D', 4457, 2327, 'V', 7231, 'y', 4551, 'W', 9241, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'g', 'E', 'D', 'd', 'x', 5331, 7187, 'J', 3839, 't'], [1485, 'f', 8207, 5859, 'D', 'k', 't', 'r', 'z', 613, 9091, 4893, 5755, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'Q', 5331, 'c', 3531, 6477, 'a']

Ex Output:
7147, 6713, 9717, 8795, 3161, V, 1129, 2943, 9809, a, 3273, y, R, M


Ex Input:
['w', 'Z', 8573, 'o', 'D', 'J', 5037, 2641, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'G', 'P', 6189, 7671, 5677], ['P', 1411, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'P', 'K', 'l', 'U', 2505, 3803, 9459, 'H', 1427, 1453, 'g']

Ex Output:
O, T, 9477, u, n, x, 693, o, l, 9113, 3117, 3743, 1889


Ex Input:
[6885, 'O', 8405, 1421, 'l', 'N', 'u', 't', '3977', '1191', 'e', '6425', '8141', 'G', '195', 'V', 'H', 5701], [8333, 6935, 'W', 9183, 'u', 't', '3977', '1191', 'e', '6425', '8141', 'G', '195', 'V', 'O', 'K', 6503, 7223, 'U']

Ex Output:

u, t, 3977, 1191, e, 6425, 8141, G, 195, V