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

Ex Input:
[7449, 1055, 'd', 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'N', 'd', 83, 'a', 'd', 3257, 3697, 'p', 9587, 4343, 8761, 8435, 'q', 909], ['F', 'V', 3405, 6049, 8373, 8397, 9195, 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'E', 'W', 'U', 'T', 'L', 2711, 'R', 'm']

Ex Output:
q, 3157, 6365, v, b, H, n, B, 4283, m, c, V, h, 3207, 3795, j, l, j, K, k


Ex Input:
['Y', 'Z', 'm', 'S', '3631', 'v', 'x', 5851, 615, 'm'], ['D', 'D', 'm', 'S', '3631', 'v', 'O', 'D']

Ex Output:
m, S, 3631, v


Ex Input:
['S', 'E', 8053, 'F', 'w', 7403, 'R', 2833, 3287, 6329, 'G', 6729, 'E', 2547, 9011, 2233, 8009, 'v', 'G', 'X', 6831, 6035, 'c', 'w', 'v', '4623', '9939', 'Z', '7257', 'h', '7955', '3739', '5955', '4659', 'X', 'k', 'G', '8487', 'v', 'm', '199', 'D', 'W', '4007', 'b', '9591', '2875', '3989', 'b', '9519', '8799', '4997', '983', '3227', '8421', 'T', 'r', 7771, 2193, 'E', 'P', 'O', 'c', 'n', 'O', 'U', 'q', 6339, 'L', 3387, 7769, 4045, 'Z', 'K', 'k', 8169, 's', 851, 'R', 'H', 6687], [8571, 3945, 5611, 'K', 'Z', 7429, 7597, 'r', 7721, 'W', 5727, 455, 9617, 5317, 8351, 7379, 'B', 'V', 5579, 9373, 4603, 'y', 1373, 'Y', 6739, 6571, '4623', '9939', 'Z', '7257', 'h', '7955', '3739', '5955', '4659', 'X', 'k', 'G', '8487', 'v', 'm', '199', 'D', 'W', '4007', 'b', '9591', '2875', '3989', 'b', '9519', '8799', '4997', '983', '3227', '8421', 'X', 'v', 'G', 'c', 8459, 405, 'n', 1675, 6507, 'z', 'N', 9737, 4027, 'S', 1353, 9661, 6803, 'Z', 'z', 8857, 4615, 'Z', 7665, 's', 4251, 7533, 'F', 8519, 'd']

Ex Output:

4623, 9939, Z, 7257, h, 7955, 3739, 5955, 4659, X, k, G, 8487, v, m, 199, D, W, 4007, b, 9591, 2875, 3989, b, 9519, 8799, 4997, 983, 3227, 8421