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

Ex Input:
[2647, 'D', 'q', 'P', 6067, 3591, 1081, 'T', 2835, 5797, 7213, 7679, 'W', 4661, 7889, 9677, 3313, 7233, 9121, 2061, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'a', 547, 657, 5609], ['o', 8055, 'b', 345, 'k', 1237, 'R', 'M', 2177, 'V', 3921, 'k', 'o', 'z', 7451, 27, 'F', 8073, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'e', 9767, 1391, 'Q']

Ex Output:
v, u, 325, 8069, 4691, 9597, O, 8811, 6583, M, 4393, 1767, v, 2707, 4419, Q, a, 3885, 1795, 9599


Ex Input:
['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]

Ex Output:
z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w


Ex Input:
['X', 5781, 'N', 1027, 'Q', 5833, '4299', 'S', 'h', 'A', 'g', '4263', 'p', '2735', '2749', '7789', 'I', '9601', '8977', '2003', 'M', '1535', 'A', '4479', '3931', '1163', 'C', 'Z', 'k', 2711, 'Z', 'p', 'T', 4563, 'o', 6271, 'W', 4725, 7497, 6267, 'I', 'R', 'm', 'D', 1501, 'S', 'P', 4801, 'm'], ['y', 'I', 3489, 'u', 'H', 6483, 167, 1103, 'd', 'v', 2575, '4299', 'S', 'h', 'A', 'g', '4263', 'p', '2735', '2749', '7789', 'I', '9601', '8977', '2003', 'M', '1535', 'A', '4479', '3931', '1163', 'C', 'Z', 'X', 'M', 'Y', 6157]

Ex Output:

4299, S, h, A, g, 4263, p, 2735, 2749, 7789, I, 9601, 8977, 2003, M, 1535, A, 4479, 3931, 1163, C, Z