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

Ex Input:
['b', 'L', 'v', 7993, 2017, 929, '4549', '3397', 'O', 'M', 'F', '6233', '6011', 'Z', '8625', 'm', '1699', '7663', '2439', 'p', 'a', 'C', '9955', 'O', '1085', '2845', '2029', '391', 'O', '5349', 'L', '2971', '631', 'a', 3379, 'W', 397, 8293, 5007], ['j', 'O', 3563, 'V', 5991, 'z', 'd', 513, '4549', '3397', 'O', 'M', 'F', '6233', '6011', 'Z', '8625', 'm', '1699', '7663', '2439', 'p', 'a', 'C', '9955', 'O', '1085', '2845', '2029', '391', 'O', '5349', 'L', '2971', '631', 'm', 2835, 5795, 3245, 'A', 1761]

Ex Output:
4549, 3397, O, M, F, 6233, 6011, Z, 8625, m, 1699, 7663, 2439, p, a, C, 9955, O, 1085, 2845, 2029, 391, O, 5349, L, 2971, 631


Ex Input:
['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]

Ex Output:
5747, i, M


Ex Input:
['l', 'T', 8399, 'C', 't', '2131', 'Z', 'C', 'O', 'M', 't', '1375', 'q', 'w', 3759, 't'], [2193, 1691, 9647, 3819, 2099, 2759, 2119, 't', '2131', 'Z', 'C', 'O', 'M', 't', '1375', 'q', 'q', 6609, 'y']

Ex Output:

t, 2131, Z, C, O, M, t, 1375, q