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

Ex Input:
[875, 'c', 155, 1315, 4839, 'V', 'V', 'f', 8101, 'p', 'T', 'j', 'J', 'a', 'k', 6651, 7167, 1301, 'm', 6409, 1653, 1483, 5717, 'e', 6085, 6231, 5527, 4623, '6377', '9589', 'h', '8647', '4605', 'C', '4557', '1451', '4523', '1565', '137', 'I', '5071', '7871', 'P', '1237', '7547', '7847', '3241', '2029', 'o', '5955', 'W', 'M', '2545', '5409', '6825', '6183', 'A', 2555, 4117, 3295, 7893, 'u', 'N', 5443, 3763, 9527, 'M', 9847, 4821, 7757, 1595, 'h', 8879, 'V'], ['D', 'E', 5181, 935, 6263, 'p', 'y', 'd', 8291, 5551, 'S', 'U', 's', 'Z', 2627, 'v', 'J', 9197, 1035, 209, 'B', 'N', 8071, 'K', 2605, 6055, 4455, '6377', '9589', 'h', '8647', '4605', 'C', '4557', '1451', '4523', '1565', '137', 'I', '5071', '7871', 'P', '1237', '7547', '7847', '3241', '2029', 'o', '5955', 'W', 'M', '2545', '5409', '6825', '6183', 'e', 4375, 2351, 9331, 7935, 'p', 'y', 8505, 'W', 'D', 'r', 'z', 'Y', 6933, 9651, 8235, 'K', 'P', 'L']

Ex Output:
6377, 9589, h, 8647, 4605, C, 4557, 1451, 4523, 1565, 137, I, 5071, 7871, P, 1237, 7547, 7847, 3241, 2029, o, 5955, W, M, 2545, 5409, 6825, 6183

Ex Input:
['s', 5215, 'X', 4785, 6947, 5893, 7053, 't', 5871, 'k', 1691, 'Z', 2873, 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 't', 'X', 'A', 'W', 5429, 8573, 'F', 'G', 'm', 's', 167, 9123, 6207, 9613, 2093, 'V', 3531], [5343, 'Y', 'l', 'V', 8421, 3519, 5427, 'E', 'S', 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 'z', 'R', 'l', 1275, 5871, 9461, 2255, 'K', 6005, 3441, 4125, 2315, 'R', 7447, 4823, 785]

Ex Output:
J, 887, 247, t, 7731, 8425, 3371, o, 5243, 8871, 2477, E, w, D, r, 8971, J, 549

Ex Input:
[4307, 'd', 7287, 'I', 'O', 'N', 'h', 9153, 'v', 1637, 'J', 9505, 'X', 'd', 'i', 'Z', 'S', 7499, 145, 'X', '7729', '3627', 'L', 'e', 'Y', 'o', '7489', 'r', '9845', '3651', '4805', '7645', 'q', 'I', 'u', 'D', 'x', 'a', 'Z', '8471', 't', '4553', '2377', '2033', '191', '4013', '2107', 'I', 'i', 1013, 9443, 'u', 'p', 'O', 'v', 'H', 'D', 'S', 4135, 'd', 6145, 's', 6447, 4547, 'J', 'p', 'j', 1843, 909, 4665, 1331, 'q', 4765, 'B', 'h', 'W'], ['Q', 5301, 2859, 'K', 'V', 7561, 'G', 2903, 3467, 8757, 'X', '7729', '3627', 'L', 'e', 'Y', 'o', '7489', 'r', '9845', '3651', '4805', '7645', 'q', 'I', 'u', 'D', 'x', 'a', 'Z', '8471', 't', '4553', '2377', '2033', '191', '4013', '2107', 'I', 'G', 363, 3685, 'E', 'D', 'j', 6563, 9337]

Ex Output:
X, 7729, 3627, L, e, Y, o, 7489, r, 9845, 3651, 4805, 7645, q, I, u, D, x, a, Z, 8471, t, 4553, 2377, 2033, 191, 4013, 2107, I