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

Ex Input:
[2945, 6951, 2771, 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'd', 4197, 'j', 'p', 'z', 1911, 'w', 6663, 7993, 5973, 3193, 7387, 'h', 'e', 8663, 2715], ['U', 'a', 'f', 7179, 7859, 'C', 6081, 2069, 3459, 'm', 'w', 'k', 'q', 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'e', 'v', 'f', 5943, 8771, 'K', 'i', 'c', 'x', 7745, 'F', 'x', 3855, 'S', 5113, 1205]

Ex Output:
k, G, 7377, d, a, p, J, c, R, 6641, a, 2235, 3033, 3189, 7299, h, T, 5111, k


Ex Input:
['g', 9605, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'i', 3357, 'i', 6367, 't', 2131, 'J', 'W', 501, 679, 'o', 8079, 'O', 'u'], [761, 8395, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'K', 'n', 9433]

Ex Output:
2057, 3119, R, X, p, 4501, h, 347, 7435, J, 4601, 4601, E, 8787, I


Ex Input:
['N', 9925, 6613, 'v', 'U', '6887', '9329', 'H', 'x', 'W', '7967', 'R', 'G', 'R', 'E'], [1129, 8235, 'w', 1385, '6887', '9329', 'H', 'x', 'W', '7967', 'R', 'I', 7643, 'f']

Ex Output:

6887, 9329, H, x, W, 7967, R