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

Ex Input:
[1229, 2165, 9405, 7393, 'c', 6613, 987, 9213, 9841, 1761, 977, 'X', 'w', 6301, 'h', 7313, 471, 9743, 8297, 'U', 5599, 'V', 'r', 'D', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'c', 'A', 'l', 'I', 'F', 'd', 'Z', 'B', 2909, 'J', 7945, 4375, 'i'], ['u', 7037, 'F', 'P', 'p', 3491, 4945, 4199, 'Z', 9041, 'K', 7385, 'F', 275, 6533, 'x', 'O', 9603, 8641, 'G', 6723, 'L', 'S', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'A', 'q', 4411, 3045, 'A', 933, 7623, 'w']

Ex Output:
D, 5085, Z, E, 7057, r, 9905, 5733, M, z, v, C, u, A, 5577, 5937, Z, 4509, 4005, Z, a, F, 6315, 5875


Ex Input:
[5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]

Ex Output:
w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695


Ex Input:
[2069, 1955, 1481, 2457, 5555, 'O', '7441', '5091', '6097', '7657', '3699', 'x', 'S', '5947', 'D', '6217', 'Q', '9691', 'v', '2789', '9439', '2785', 'v', '7253', 'O', '6655', 'H', 'K', '3081', 'o', 'O'], [6445, 'a', 'O', 9099, 1797, 'A', 'O', '7441', '5091', '6097', '7657', '3699', 'x', 'S', '5947', 'D', '6217', 'Q', '9691', 'v', '2789', '9439', '2785', 'v', '7253', 'O', '6655', 'H', 'K', '3081', 'n', 'o', 'H', 2319, 'l', 'l', 947, 331, 'l', 9199, 141]

Ex Output:

O, 7441, 5091, 6097, 7657, 3699, x, S, 5947, D, 6217, Q, 9691, v, 2789, 9439, 2785, v, 7253, O, 6655, H, K, 3081