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

Ex Input:
['U', 3417, 5169, 'r', 's', 2909, 3363, 'x', 8463, 9703, 3041, 'e', 4997, 1689, 'Y', 'y', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'G', 2185, 'I', 'D', 'U', 2889, 6837, 'B', 'x', 2775, 'I', 3053, 1801], [525, 'd', 'K', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'z', 9959, 'H', 1865, 'M', 8529]

Ex Output:
T, 53, 8895, 1117, 4025, v, 1689, e, V, k, 2673, 5425, c, p, 8235, Q


Ex Input:
[5523, 6861, 3635, 2401, 4183, 835, 'g', '8277', 'q', 'J', 'n', 'A', 'T', '7569', '7187', 'E', 'o', '8695', 'H', 'l', 'z', 'q', '8419', '653', 'q', 'I', 'L', 5555, 8467, 7403, 'm', 'q', 'Q', 5691, 'Z', 7941, 8365, 't', 'M', 'q'], [1149, 7583, 'O', 'z', 'N', 7003, 'C', '8277', 'q', 'J', 'n', 'A', 'T', '7569', '7187', 'E', 'o', '8695', 'H', 'l', 'z', 'q', '8419', '653', 'b', 'H', 'w', 'r', 685, 'D', 'o', 2299, 5915, 4613]

Ex Output:
8277, q, J, n, A, T, 7569, 7187, E, o, 8695, H, l, z, q, 8419, 653


Ex Input:
[3995, 3813, 4011, 8205, 'l', 3825, '5887', 'O', '7993', '6833', '8733', '3933', 'V', 'L', 2601, 'O', 'u', 'c', 'M'], ['c', 'g', 5049, 'z', 4147, 'L', 9305, '5887', 'O', '7993', '6833', '8733', '3933', 'V', 'z', 8807, 5273, 7175, 'c', 'K', 'j']

Ex Output:

5887, O, 7993, 6833, 8733, 3933, V