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

Ex Input:
[9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]

Ex Output:
2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097


Ex Input:
[3585, 8561, '6537', 'm', 'e', 'E'], ['H', 'x', '6537', 'm', 'i', 9553]

Ex Output:
6537, m


Ex Input:
['E', 'K', 'q', '4883', '1597', '9783', '3721', 'O', '9629', '6157', 'p', '8735', 'C', 4505, 7133, 7655], [7467, 8397, 'V', 1883, 't', 'q', '4883', '1597', '9783', '3721', 'O', '9629', '6157', 'p', '8735', 'N', 4397, 5179, 'B']

Ex Output:

q, 4883, 1597, 9783, 3721, O, 9629, 6157, p, 8735