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

Ex Input:
[4163, 'p', 'Z', 'i', 'r', 9525, 'c', 'C', 'L', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'w', 6457, 'P', 1517, 6975, 2465, 'Y', 425, 'n', 375, 'O', 7707, 1105, 1985, 6149, 'l', 5761, 875, 4411], [2127, 9083, 'w', 'Z', 4071, 5347, 'r', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'o', 'K', 1639, 'Z', 13, 'm', 'M', 'G', 'C', 353]

Ex Output:
J, L, 3441, W, 2257, 7885, 873, e, a, N, 2853, K, R, 5531, h, p, u, b, 6003, q, H, 6641, 9991


Ex Input:
[5451, 't', 'Q', 5199, 'A', 'P', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'u', 'l', 'o', 9943, 'b', 'm'], [1925, 'Q', 'D', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'H', 3347]

Ex Output:
5961, 133, Q, V, 7547, 899, 6027, 439


Ex Input:
['i', 3145, 'e', 8251, 'K', 'z', 'K', 1529, 4383, 'E', 'z', 'Q', 'd', 'f', 'C', '5097', 'f', '4235', 'a', 'c', 'i', '783', '8167', 'e', 'h', 'f', '6463', '381', '8381', '1827', '6447', 'G', '5857', 'N', '9603', 'W', 3135, 'z', 't', 1287, 'b', 'c', 'Z', 'L', 'V', 'C', 3171, 9267, 3461, 'f', 'V', 1015, 4835, 'N', 4215, 'Z', 1907, 'P', 'b'], ['j', 7721, 'P', 'B', 'l', 1367, 'i', 'x', 'N', 'Q', 'd', 'f', 'C', '5097', 'f', '4235', 'a', 'c', 'i', '783', '8167', 'e', 'h', 'f', '6463', '381', '8381', '1827', '6447', 'G', '5857', 'N', '9603', 'S', 'A', 4019, 'K', 'm', 139, 'c', 2115, 641, 5755, 4003, 3759, 2501, 'F', 215, 'F', 7843, 'H']

Ex Output:

Q, d, f, C, 5097, f, 4235, a, c, i, 783, 8167, e, h, f, 6463, 381, 8381, 1827, 6447, G, 5857, N, 9603