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

Ex Input:
['T', 5987, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'n', 5107, 'w', 'u'], [6625, 'm', 8849, 3385, 6853, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'a', 'G', 'G', 'e', 3501]

Ex Output:
3759, O, x, 4311, e, 6841, R, d, y, 2745


Ex Input:
[6951, 5063, 'D', '2121', '2709', 'L', '5457', '8809', '8771', 'S', '2283', 'Z', 'b', '3395', 'N', '9971', 'x', 'D', 'T', '2101', 'W', 'b', '6315', 'G', 'm', '8761', 'y', '1683', '9393', 'r', '6139', '6405', 'z', 's', 5325, 'W', 4603, 'A'], ['H', 2041, 8481, 'B', 'G', 'S', 509, 117, 3045, 803, 3957, 9469, 4397, 'T', 3193, 9619, 'u', 'y', 'q', 'p', 'r', 8683, 'p', 'L', 5181, 3747, 's', 3145, 6079, 'D', '2121', '2709', 'L', '5457', '8809', '8771', 'S', '2283', 'Z', 'b', '3395', 'N', '9971', 'x', 'D', 'T', '2101', 'W', 'b', '6315', 'G', 'm', '8761', 'y', '1683', '9393', 'r', '6139', '6405', 'Q', 'd', 'q', 6139, 'I', 3349, 7979, 8847, 'J', 7575, 2601, 4181, 765, 'G', 'E', 'F', 'z', 4129]

Ex Output:
D, 2121, 2709, L, 5457, 8809, 8771, S, 2283, Z, b, 3395, N, 9971, x, D, T, 2101, W, b, 6315, G, m, 8761, y, 1683, 9393, r, 6139, 6405


Ex Input:
[2251, 'n', 7249, 2551, 6039, '6341', 'l', '7951', '603', '5783', 'V', 6931, 7737, 5509], [6923, 'J', 'N', '6341', 'l', '7951', '603', '5783', 'U', 'O', 2891, 3223, 8449]

Ex Output:

6341, l, 7951, 603, 5783