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', 3897, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'P', 'C', 'z', 5141, 1751, 6731, 'r'], ['B', 8071, 703, 'G', 885, 'Z', 2391, 1749, 4177, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'D', 8751, 'y', 2941]

Ex Output:
U, a, 455, 6499, 8975, 9003, O, j, T


Ex Input:
['s', 1977, 'x', 'v', 5605, 'E', 'T', 4309, 'i', 'w', 'c', 'A', 149, '2167', 'h', '1369', '1415', '4937', 'H', 'V', 'X', 'X', 'T', 'E', '8625', '1671', 'i', '6223', '8035', 'x', '3353', '7697', 'N', 'W', '5387', 'U', '45', '8947', 'T', '3335', '2431', '3819', 'G', 6337, 161, 't', 'z', 'B', 'i', 5633, 6319, 's', 'C', 'M', 'R', 4443, 4109, 'h'], [4905, 'W', 2387, 'X', 'e', 1097, 'd', 'J', 'a', 'H', 8021, 'Y', 'w', 8133, 3831, 'A', 'Y', 's', '2167', 'h', '1369', '1415', '4937', 'H', 'V', 'X', 'X', 'T', 'E', '8625', '1671', 'i', '6223', '8035', 'x', '3353', '7697', 'N', 'W', '5387', 'U', '45', '8947', 'T', '3335', '2431', '3819', 'I', 653, 'N', 1871, 'Y', 2033, 2937, 'X', 'G', 'V', 'R', 1863, 7305, 9601, 's', 'w', 'R', 677]

Ex Output:

2167, h, 1369, 1415, 4937, H, V, X, X, T, E, 8625, 1671, i, 6223, 8035, x, 3353, 7697, N, W, 5387, U, 45, 8947, T, 3335, 2431, 3819